47 lines
1.2 KiB
Markdown
47 lines
1.2 KiB
Markdown
|
# vue3-element-admin
|
|||
|
|
|||
|
这个模板使用了最新的 vue3 和 element-plus UI框架,vite 构建工具、pinia 状态管理、vue-router 路由管理、mockjs 数据模拟。功能从[Vue Element Admin](https://panjiachen.github.io/vue-element-admin-site/zh/guide/essentials/router-and-nav.html#%E9%85%8D%E7%BD%AE%E9%A1%B9) 移植而来,详细使用可以参考该文档。
|
|||
|
|
|||
|
# 在线示例
|
|||
|
|
|||
|
[vue3 element admin](https://vue3-element-admin.midfar.com/)
|
|||
|
|
|||
|
[element plus](https://element-plus.midfar.com/)
|
|||
|
|
|||
|
## 推荐的IDE工具和插件
|
|||
|
|
|||
|
[VSCode](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar) (禁用 Vetur) + [TypeScript Vue Plugin (Volar)](https://marketplace.visualstudio.com/items?itemName=Vue.vscode-typescript-vue-plugin).
|
|||
|
|
|||
|
## Vite构建工具配置
|
|||
|
|
|||
|
参考 [Vite配置](https://vitejs.dev/config/).
|
|||
|
|
|||
|
## 安装依赖
|
|||
|
|
|||
|
```sh
|
|||
|
npm install
|
|||
|
```
|
|||
|
|
|||
|
### 开发模式连接测试服
|
|||
|
|
|||
|
```sh
|
|||
|
npm run dev:test
|
|||
|
```
|
|||
|
|
|||
|
### 打包到测试服
|
|||
|
|
|||
|
```sh
|
|||
|
npm run build:test
|
|||
|
```
|
|||
|
|
|||
|
### 代码检查 [ESLint](https://eslint.org/)
|
|||
|
|
|||
|
```sh
|
|||
|
npm run lint
|
|||
|
```
|
|||
|
|
|||
|
## License
|
|||
|
|
|||
|
[MIT](https://opensource.org/licenses/MIT)
|
|||
|
|
|||
|
Copyright (c) 2022-present, Midfar Sun
|