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

相关文章
相关标签/搜索
本站公众号
   欢迎关注本站公众号,获取更多信息