vue-admin-template


Build Setup

# clone the project
git clone https://github.com/PanJiaChen/vue-admin-template.git

 

完成之后,修改項目名稱-修改名稱之后idea會提示報錯,點擊報錯信息,然后將彈出的對話框中的git依賴“-”刪掉,然后執行下面的語句運行項目


# enter the project directory
cd vue-admin-template

# install dependency
npm install

# develop
npm run dev

This will automatically open http://localhost:9528

 

 Build

# build for test environment
npm run build:stage

# build for production environment
npm run build:prod

Advanced

# preview the release environment effect
npm run preview

# preview the release environment effect + static resource analysis
npm run preview -- --report

# code format check
npm run lint

# code format check and auto fix
npm run lint -- --fix

Refer to Documentation for more information


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM