File tree Expand file tree Collapse file tree 22 files changed +42
-920
lines changed Expand file tree Collapse file tree 22 files changed +42
-920
lines changed Original file line number Diff line number Diff line change 1
1
VITE_APP_ENV = 'prod'
2
2
#自动获取地址推荐
3
- #VITE_APP_BASE_URL = '/micro-service-api'
4
- VITE_APP_BASE_URL = 'http://8.135.1.141/micro-service-api'
5
- VITE_APP_BASE_WS_URL = ''
3
+ VITE_APP_BASE_URL = 'https://github.jzfai.top/micro-service-api'
6
4
7
5
#image or oss address
8
- VITE_APP_IMAGE_URL = 'http ://8.135.1.141:8080 '
6
+ VITE_APP_IMAGE_URL = 'https ://github.jzfai.top/gofast-image '
Original file line number Diff line number Diff line change 1
1
VITE_APP_ENV = 'test'
2
2
#自动获取地址推荐
3
3
#VITE_APP_BASE_URL = '/micro-service-api'
4
- VITE_APP_BASE_URL = 'http ://8.135.1.141 /micro-service-api'
4
+ VITE_APP_BASE_URL = 'https ://github.jzfai.top /micro-service-api'
5
5
VITE_APP_BASE_WS_URL = ''
6
6
7
7
#image or oss address
8
- VITE_APP_IMAGE_URL = 'http ://8.135.1.141:8080 '
8
+ VITE_APP_IMAGE_URL = 'https ://github.jzfai.top/gofast-image '
Original file line number Diff line number Diff line change 1
1
#The defined variable must start with VITE_APP_
2
2
VITE_APP_ENV = 'dev'
3
- VITE_APP_BASE_URL = 'http ://8.135.1.141 /micro-service-api'
3
+ VITE_APP_BASE_URL = 'https ://github.jzfai.top /micro-service-api'
4
4
5
5
#image or oss address
6
- VITE_APP_IMAGE_URL = 'http ://8.135.1.141:8080 '
6
+ VITE_APP_IMAGE_URL = 'https ://github.jzfai.top/gofast-image '
7
7
8
8
#proxy, use this to test proxy
9
9
#VITE_APP_BASE_URL = '/api'
10
- #VITE_APP_PROXY_URL = 'http ://8.135.1.141 /micro-service-api'
10
+ #VITE_APP_PROXY_URL = 'https ://github.jzfai.top /micro-service-api'
Original file line number Diff line number Diff line change 1
1
#The defined variable must start with VITE_APP_
2
2
VITE_APP_ENV = 'test'
3
- VITE_APP_BASE_URL = 'http ://8.135.1.141 /micro-service-api'
3
+ VITE_APP_BASE_URL = 'https ://github.jzfai.top /micro-service-api'
4
4
5
5
#image or oss address
6
- VITE_APP_IMAGE_URL = 'http ://8.135.1.141:8080 '
6
+ VITE_APP_IMAGE_URL = 'https ://github.jzfai.top/gofast-image '
7
7
8
8
#proxy, use this to test proxy
9
9
#VITE_APP_BASE_URL = '/api'
10
- #VITE_APP_PROXY_URL = 'http ://8.135.1.141 /micro-service-api'
10
+ #VITE_APP_PROXY_URL = 'https ://github.jzfai.top /micro-service-api'
Original file line number Diff line number Diff line change @@ -28,20 +28,20 @@ Vite 需要 Node.js 版本 >= 12.0.0。
28
28
29
29
[ github address] ( https://github.com/jzfai/vue3-admin-template.git )
30
30
31
- [ Access address] ( http ://8.135.1.141 /vue3-admin-template)
31
+ [ Access address] ( https ://github.jzfai.top /vue3-admin-template)
32
32
33
33
github 地址: https://github.com/jzfai/vue3-admin-template.git
34
34
35
- 国内体验地址:http ://8.135.1.141 /vue3-admin-template
35
+ 国内体验地址:https ://github.jzfai.top /vue3-admin-template
36
36
37
37
38
38
## 例子
39
39
40
40
---- 我们先看看加载速度和构建后的包大小:
41
41
42
- ![ template-speed-analysis] ( http ://8.135.1.141 /file/images/template-speed-analysis.png)
42
+ ![ template-speed-analysis] ( https ://github.jzfai.top /file/images/template-speed-analysis.png)
43
43
44
- ![ template-demo] ( http ://8.135.1.141 /file/images/template-demo.png)
44
+ ![ template-demo] ( https ://github.jzfai.top /file/images/template-demo.png)
45
45
46
46
## 相关项目
47
47
@@ -83,7 +83,7 @@ cd vue3-admin-template
83
83
84
84
# pnpm address https://pnpm.io/zh/motivation
85
85
# 安装依赖(建议用pnpm)
86
- # 你可以使用 "npm -g i pnpm" 去安装pnpm
86
+ # 你可以使用 "npm -g i pnpm@6.32.3 " 去安装pnpm
87
87
pnpm i
88
88
89
89
# 启动服务
@@ -201,7 +201,7 @@ Modern browsers and Internet Explorer 11+.
201
201
|Edge| last 2 versions| last 2 versions| last 2 versions
202
202
203
203
## 讨论和交流(含vue3+ts视频教程)
204
- [ WeChat group] ( http ://8.135.1.141 /file/images/wx-groud.png)
204
+ [ WeChat group] ( https ://github.jzfai.top /file/images/wx-groud.png)
205
205
206
206
## 版本
207
207
Original file line number Diff line number Diff line change @@ -21,19 +21,19 @@ Vite need Node.js >= 12.0.0。
21
21
22
22
[ github address] ( https://github.com/jzfai/vue3-admin-template.git )
23
23
24
- [ Access address] ( http ://8.135.1.141 /vue3-admin-template)
24
+ [ Access address] ( https ://github.jzfai.top /vue3-admin-template)
25
25
26
- 国内体验地址:http ://8.135.1.141 /vue3-admin-template
26
+ 国内体验地址:https ://github.jzfai.top /vue3-admin-template
27
27
28
28
github 地址: https://github.com/jzfai/vue3-admin-template.git
29
29
30
30
## Demo
31
31
32
32
---- Let's look at the loading speed and the size of the built package first.:
33
33
34
- ![ template-speed-analysis] ( http ://8.135.1.141 /file/images/template-speed-analysis.png)
34
+ ![ template-speed-analysis] ( https ://github.jzfai.top /file/images/template-speed-analysis.png)
35
35
36
- ![ template-demo] ( http ://8.135.1.141 /file/images/plus-demo.png)
36
+ ![ template-demo] ( https ://github.jzfai.top /file/images/plus-demo.png)
37
37
38
38
## Related items
39
39
@@ -120,7 +120,7 @@ Modern browsers and Internet Explorer 11+.
120
120
|Edge| last 2 versions| last 2 versions| last 2 versions
121
121
122
122
## Discussion and Communication
123
- [ WeChat group] ( http ://8.135.1.141 /file/images/wx-groud.png)
123
+ [ WeChat group] ( https ://github.jzfai.top /file/images/wx-groud.png)
124
124
125
125
## License
126
126
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " vue3-admin-template" ,
3
- "version" : " 1.6.0 " ,
3
+ "version" : " 1.6.1 " ,
4
4
"license" : " ISC" ,
5
- "packageManager" : " pnpm@6.32.3" ,
6
5
"author" : " kuanghua(869653722@qq.com)" ,
6
+ "packageManager" : " pnpm@6.32.3" ,
7
7
"scripts" : {
8
8
"preinstall" : " npx only-allow pnpm" ,
9
9
"dev" : " vite --mode serve-dev --host" ,
22
22
"vue" : " ^3.2.26"
23
23
},
24
24
"dependencies" : {
25
- "@element-plus/icons-vue" : " 1.1 .4" ,
25
+ "@element-plus/icons-vue" : " 2.0 .4" ,
26
26
"js-error-collection" : " ^1.0.7" ,
27
27
"axios" : " 0.21.3" ,
28
28
"echarts" : " 5.3.2" ,
29
- "element-plus" : " 2.1.9 " ,
29
+ "element-plus" : " 2.2.5 " ,
30
30
"mitt" : " 3.0.0" ,
31
31
"moment-mini" : " 2.22.1" ,
32
32
"nprogress" : " 0.2.0" ,
33
33
"path" : " 0.12.7" ,
34
34
"path-to-regexp" : " 6.2.0" ,
35
- "pinia" : " 2.0.13 " ,
35
+ "pinia" : " 2.0.14 " ,
36
36
"tinymce" : " 4.9.11" ,
37
- "vue" : " 3.2.36 " ,
37
+ "vue" : " 3.2.37 " ,
38
38
"vue-router" : " 4.0.14"
39
39
},
40
40
"devDependencies" : {
62
62
"typescript" : " 4.5.4" ,
63
63
"unplugin-auto-import" : " ^0.5.11" ,
64
64
"unplugin-vue-components" : " ^0.17.14" ,
65
- "vite" : " 2.9.9 " ,
65
+ "vite" : " 2.9.12 " ,
66
66
"vite-plugin-html" : " ^3.2.0" ,
67
67
"vite-plugin-mock" : " ^2.9.6" ,
68
68
"vite-plugin-style-import" : " 1.2.1" ,
91
91
" not op_mini all"
92
92
],
93
93
"engines" : {
94
- "node" : " >= 12 "
94
+ "node" : " >= 14<18 "
95
95
}
96
96
}
Original file line number Diff line number Diff line change @@ -60,12 +60,12 @@ import { useAppStore } from '@/store/app'
60
60
import { usePermissionStore } from ' @/store/permission'
61
61
const scssJson = dillScssExportToJson (scssExportJson)
62
62
const activeMenu = computed (() => {
63
- const { meta , fullPath } = route
63
+ const { meta , path } = route
64
64
// if set path, the sidebar will highlight the path you set
65
65
if (meta .activeMenu ) {
66
66
return meta .activeMenu
67
67
}
68
- return fullPath
68
+ return path
69
69
})
70
70
</script >
71
71
Original file line number Diff line number Diff line change @@ -42,19 +42,6 @@ export const constantRoutes = [
42
42
}
43
43
]
44
44
} ,
45
- {
46
- path : '/generation-code' ,
47
- component : Layout ,
48
- redirect : '/dashboard' ,
49
- children : [
50
- {
51
- path : 'index' ,
52
- name : 'CodeGenerator' ,
53
- component : ( ) => import ( '@/views/code-generator' ) ,
54
- meta : { title : 'CodeGenerator' , elSvgIcon : 'Fold' }
55
- }
56
- ]
57
- } ,
58
45
{
59
46
path : '/setting-switch' ,
60
47
component : Layout ,
Original file line number Diff line number Diff line change @@ -86,7 +86,7 @@ const setting = {
86
86
* vite.config.js base config
87
87
* such as
88
88
* */
89
- viteBasePath : '/vue3-admin-template /'
89
+ viteBasePath : '. /'
90
90
}
91
91
92
92
export default setting
You can’t perform that action at this time.
0 commit comments