vue-element-plus-admin start
1. Install element-plus
1. element-plus official website address
https://element-plus.gitee.io/zh-CN/guide/installation.html
2. Use pnpm to install
Install command
pnpm install element-plus
2. Install vue scaffolding
npm install -g @vue/cli
3. Install vue-router
npm install vue-router --save
4. Install axios
npm install axios
5. Download the vue-element-plus-admin project
https://gitee.com/kailong110120130/vue-element-plus-admin?_from=gitee_search
6. Install and start the project
The following are all commands entered in cmd
- install dependencies
Switch to the path of the project
cd vue-element-plus-admin
install
pnpm install
- Run the development environment
pnpm run dev
- Package production environment
pnpm run build:pro