File tree 4 files changed +12
-3
lines changed
4 files changed +12
-3
lines changed Original file line number Diff line number Diff line change 1
- VUE_APP_TITLE = Vue3 Mobile
1
+ VUE_APP_TITLE = Vue3 Boilerplate
Original file line number Diff line number Diff line change 4
4
< meta charset ="utf-8 " />
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
- < title > Vue3 boilerplate</ title >
7
+ < link rel ="icon " href ="<%= PUBLIC_PATH %>favicon.ico " />
8
+ < title > < %= VUE_APP_TITLE %> </ title >
8
9
</ head >
9
10
< body >
10
11
< div id ="app "> </ div >
Original file line number Diff line number Diff line change @@ -47,6 +47,12 @@ module.exports = {
47
47
new CaseSensitivePathsPlugin ( ) ,
48
48
new HTMLPlugin ( {
49
49
template : paths . resolve ( 'public/index.html' ) ,
50
+ templateParameters : {
51
+ ...resolveClientEnv (
52
+ { publicPath : isProd ? config . build . publicPath : config . dev . publicPath } ,
53
+ true /* raw */
54
+ ) ,
55
+ } ,
50
56
} ) ,
51
57
new CopyPlugin ( {
52
58
patterns : [
@@ -65,7 +71,9 @@ module.exports = {
65
71
__VUE_OPTIONS_API__ : 'true' ,
66
72
__VUE_PROD_DEVTOOLS__ : 'false' ,
67
73
68
- ...resolveClientEnv ( { publicPath : config . dev . publicPath } ) ,
74
+ ...resolveClientEnv ( {
75
+ publicPath : isProd ? config . build . publicPath : config . dev . publicPath ,
76
+ } ) ,
69
77
} ) ,
70
78
] ,
71
79
You can’t perform that action at this time.
0 commit comments