Build Setup

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

vue-admin-template

 

完成之后,修改项目名称-修改名称之后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

vue-admin-template

 

 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

相关文章:

  • 2021-08-30
  • 2021-11-28
  • 2021-05-18
  • 2022-12-23
  • 2021-09-05
  • 2021-12-06
  • 2022-12-23
  • 2021-08-28
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-26
  • 2021-08-07
  • 2021-10-30
相关资源
相似解决方案