File tree Expand file tree Collapse file tree 5 files changed +16
-9
lines changed Expand file tree Collapse file tree 5 files changed +16
-9
lines changed Original file line number Diff line number Diff line change 1
1
# just a flag
2
- NODE_ENV = ' production '
2
+ NODE_ENV = ' development '
3
3
4
4
# base api
5
- VUE_APP_BASE_API = ' http://123.57.53.141:8080 '
5
+ VUE_APP_BASE_API = ' http://10.89.228.206:28088 '
6
6
7
- VUE_APP_GITHUB_CLIENTID = ' ed02b9b9c2673b64d007'
7
+ # github login client id
8
+ VUE_APP_GITHUB_CLIENTID = ' aa6d9aa35a3d63374015'
Original file line number Diff line number Diff line change 10
10
},
11
11
"dependencies" : {
12
12
"@element-plus/icons-vue" : " ^2.0.6" ,
13
- "@highlightjs/vue-plugin" : " ^2.1.0" ,
14
13
"axios" : " ^0.26.1" ,
15
14
"babel-plugin-transform-remove-console" : " ^6.9.4" ,
16
15
"core-js" : " ^3.8.3" ,
17
16
"element-plus" : " ^2.2.21" ,
18
17
"express" : " ^4.18.2" ,
19
18
"highlight.js" : " ^11.5.0" ,
20
- "highlightjs" : " ^9.16.2" ,
21
19
"js-cookie" : " ^3.0.1" ,
22
20
"jsonwebtoken" : " ^8.5.1" ,
23
21
"marked" : " ^4.1.0" ,
Original file line number Diff line number Diff line change 5
5
< meta http-equiv ="X-UA-Compatible " content ="IE=edge ">
6
6
< meta name ="viewport " content ="width=device-width,initial-scale=1.0 ">
7
7
< link rel ="icon " href ="<%= BASE_URL %>favicon.ico ">
8
+ < link href ="https://cdn.bootcdn.net/ajax/libs/element-plus/2.2.21/index.css " rel ="stylesheet ">
8
9
< title > < %= htmlWebpackPlugin.options.title %> </ title >
9
10
</ head >
10
11
< body >
11
12
< noscript >
12
13
< strong > We're sorry but < %= htmlWebpackPlugin.options.title %> doesn't work properly without JavaScript enabled. Please enable it to continue.</ strong >
13
14
</ noscript >
15
+ < script src ="https://cdn.bootcdn.net/ajax/libs/vue/3.2.13/vue.global.js "> </ script >
16
+ < script src ="https://cdn.bootcdn.net/ajax/libs/highlight.js/11.7.0/highlight.min.js "> </ script >
17
+ < script src ="https://cdn.bootcdn.net/ajax/libs/element-plus/2.2.21/index.full.js "> </ script >
14
18
< div id ="app "> </ div >
15
19
<!-- built files will be auto injected -->
16
20
</ body >
Original file line number Diff line number Diff line change 54
54
},
55
55
data () {
56
56
return {
57
- activeIndex: ref (' 1' ),
58
- activeIndex2: ref (' 2' )
59
-
60
57
}
61
58
62
59
},
Original file line number Diff line number Diff line change 1
1
const { defineConfig } = require ( '@vue/cli-service' )
2
2
module . exports = defineConfig ( {
3
- transpileDependencies : true
3
+ transpileDependencies : true ,
4
+ configureWebpack : {
5
+ externals :{
6
+ vue :'Vue' ,
7
+ 'element-plus' :'ElementPlus' ,
8
+ 'highlight.js' :'hljs'
9
+ }
10
+ }
4
11
} )
You can’t perform that action at this time.
0 commit comments