File tree Expand file tree Collapse file tree 1 file changed +53
-7
lines changed
Expand file tree Collapse file tree 1 file changed +53
-7
lines changed Original file line number Diff line number Diff line change 11<h1 >
22 <p align =" center " >
3- vue3+vite+elemetnplus+tempalte
3+ vue3+vite+elemetnplus+admin
44 </p >
55</h1 >
66
1010 <img alt =" element-plus " src =" https://img.shields.io/npm/v/element-plus?label=element-plus " />
1111 <img alt =" vue-router " src =" https://img.shields.io/badge/vue--router-v4.0.12-green " />
1212 <img alt =" vuex " src =" https://img.shields.io/badge/vuex-v4.0.2-blue " />
13- <img alt =" axios " src =" https://img.shields.io/npm/v/axios?label=axios " />
1413</p >
1514
1615## 简介
1716
18- [ vue3+vite+elemetnplus+tempalte ] ( https://github.com/lpya/vue3-vite-elementplus-template ) 是一个常用配置的起手模板,它内置了vue3、ts、vite、vuex、vue-router、scss、elementplus、axios、eslint
17+ [ vue3+vite+elemetnplus+admin ] ( https://github.com/lpya/vue3-vite-elementplus-admin ) 是一个后台前端解决方案,它基于vue3和element-plus实现。它使用了最新的前端技术栈,内置了动态路由、权限验证等业务模型,后续会提供更多的功能组件...
1918
19+ ## 目录结构
20+
21+ ```
22+ ├── public # 静态资源
23+ │ └── favicon.ico # favicon图标
24+ ├── src # 源代码
25+ │ ├── api # 所有请求
26+ │ ├── assets # 主题、样式、字体
27+ │ ├── components # 全局公共组件
28+ │ ├── interface # 全屏接口
29+ │ ├── layout # 全局layout
30+ │ ├── filters # 全局filters
31+ │ ├── plugins # 插件
32+ │ ├── router # 路由
33+ │ ├── store # 全局store管理
34+ │ ├── styles # 全局样式
35+ │ ├── utils # 公用方法
36+ │ ├── views # views所有页面
37+ │ ├── env.d.ts # 声明
38+ │ ├── main.ts # 入口文件
39+ │ ├── permission.ts # 权限管理
40+ │ └── App.vue # 入口页面
41+ ├── index.html # html模板
42+ ├── package.json # package.json
43+ ├── README.md # README.md
44+ ├── tsconfig.json # ts配置
45+ └── vite.config.ts # vite配置
46+ ```
2047## 开发
2148
22- ``` shell
49+ ```
2350#克隆项目
24- git clone https://github.com/lpya/vue3-vite-elementplus-template .git
51+ git clone https://github.com/lpya/vue3-vite-elementplus-admin .git
2552
2653#进入项目目录
27- cd vue3-vite-elementplus-template
54+ cd vue3-vite-elementplus-admin
2855
2956#安装依赖
3057npm install
3158
3259#启动服务
3360npm run dev
3461
62+ ```
63+ ## 发布
64+
65+ ```
66+ #预览
67+ npm run preview
68+
3569#打包发布
3670npm run build
37- ```
71+ ```
72+
73+ ## 感谢
74+
75+ [ vuejs [ vue ]] ( https://github.com/vuejs/vue )
76+
77+ [ vitejs [ vite ]] ( https://github.com/vitejs/vite )
78+
79+ [ element-plus [ element-plus ]] ( https://github.com/element-plus/element-plus )
80+
81+ [ PanJiaChen [ vue-element-admin ]] ( https://github.com/PanJiaChen/vue-element-admin )
82+
83+ ...
You can’t perform that action at this time.
0 commit comments