vue-admin-template

Build Setup

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

 

完成以後,修改項目名稱-修更名稱以後idea會提示報錯,點擊報錯信息,而後將彈出的對話框中的git依賴「-」刪掉,而後執行下面的語句運行項目html

 # enter the project directory cd vue-admin-template # install dependency npm install # develop npm run dev

This will automatically open http://localhost:9528vue

 

 Buildgit

# build for test environment npm run build:stage # build for production environment npm run build:prod

Advancedgithub

# 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 informationshell

相關文章
相關標籤/搜索
本站公眾號
   歡迎關注本站公眾號,獲取更多信息