@@ -64,7 +64,7 @@ const devWebpackConfig = merge(baseWebpackConfig, { |
||
64 | 64 |
// copy custom static assets |
65 | 65 |
new CopyWebpackPlugin([ |
66 | 66 |
{ |
67 |
- from: path.resolve(__dirname, '../static'), |
|
67 |
+ from: path.resolve(__dirname, '../web_static'), |
|
68 | 68 |
to: config.dev.assetsSubDirectory, |
69 | 69 |
ignore: ['.*'] |
70 | 70 |
} |
@@ -48,7 +48,7 @@ const webpackConfig = merge(baseWebpackConfig, { |
||
48 | 48 |
filename: utils.assetsPath('css/[name].[contenthash].css'), |
49 | 49 |
// Setting the following option to `false` will not extract CSS from codesplit chunks. |
50 | 50 |
// Their CSS will instead be inserted dynamically with style-loader when the codesplit chunk has been loaded by webpack. |
51 |
- // It's currently set to `true` because we are seeing that sourcemaps are included in the codesplit bundle as well when it's `false`, |
|
51 |
+ // It's currently set to `true` because we are seeing that sourcemaps are included in the codesplit bundle as well when it's `false`, |
|
52 | 52 |
// increasing file size: https://github.com/vuejs-templates/webpack/issues/1110 |
53 | 53 |
allChunks: true, |
54 | 54 |
}), |
@@ -115,7 +115,7 @@ const webpackConfig = merge(baseWebpackConfig, { |
||
115 | 115 |
// copy custom static assets |
116 | 116 |
new CopyWebpackPlugin([ |
117 | 117 |
{ |
118 |
- from: path.resolve(__dirname, '../static'), |
|
118 |
+ from: path.resolve(__dirname, '../web_static'), |
|
119 | 119 |
to: config.build.assetsSubDirectory, |
120 | 120 |
ignore: ['.*'] |
121 | 121 |
} |
@@ -8,11 +8,11 @@ module.exports = { |
||
8 | 8 |
dev: { |
9 | 9 |
|
10 | 10 |
// Paths |
11 |
- assetsSubDirectory: 'static', |
|
11 |
+ assetsSubDirectory: 'web_static', |
|
12 | 12 |
assetsPublicPath: '/', |
13 | 13 |
proxyTable: { |
14 | 14 |
'/api': { |
15 |
- target: 'http://kodo.xfoto.com.cn', |
|
15 |
+ target: 'http://kodo.tamron.cn', |
|
16 | 16 |
changeOrigin: true //跨域 |
17 | 17 |
} |
18 | 18 |
}, |
@@ -54,7 +54,7 @@ module.exports = { |
||
54 | 54 |
|
55 | 55 |
// Paths |
56 | 56 |
assetsRoot: path.resolve(__dirname, '../dist'), |
57 |
- assetsSubDirectory: 'static', |
|
57 |
+ assetsSubDirectory: 'web_static', |
|
58 | 58 |
assetsPublicPath: '/', |
59 | 59 |
|
60 | 60 |
/** |
@@ -1 +1 @@ |
||
1 |
-<html><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1,maximum-scale=1,minimum-scale=1,user-scalable=no,minimal-ui"><meta name=screen-orientation content=portrait><meta name=apple-mobile-web-app-capable content=yes><meta name=format-detection content="telephone=no"><meta name=full-screen content=yes><meta name=x5-fullscreen content=true><title>盈多</title><link href=/static/css/app.3a26c6e73b7d3ba6472504322287f93a.css rel=stylesheet></head><body><div id=app><router-view></router-view></div><script type=text/javascript src=/static/js/manifest.8482e608f8350cc30a57.js></script><script type=text/javascript src=/static/js/vendor.4d2f6d4ff07a2e355c29.js></script><script type=text/javascript src=/static/js/app.b0c121ab3b3ceaefb9c6.js></script></body><style media=screen>body { margin: 0 !important; }</style></html> |
|
1 |
+<html><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1,maximum-scale=1,minimum-scale=1,user-scalable=no,minimal-ui"><meta name=screen-orientation content=portrait><meta name=apple-mobile-web-app-capable content=yes><meta name=format-detection content="telephone=no"><meta name=full-screen content=yes><meta name=x5-fullscreen content=true><title>盈多</title><link href=/web_static/css/app.b5183e2cf6ca9c6c01ca155d368ab133.css rel=stylesheet></head><body><div id=app><router-view></router-view></div><script type=text/javascript src=/web_static/js/manifest.7e6cf6608d316cbc8496.js></script><script type=text/javascript src=/web_static/js/vendor.4d2f6d4ff07a2e355c29.js></script><script type=text/javascript src=/web_static/js/app.9d03c767c4eff0089570.js></script></body><style media=screen>body { margin: 0 !important; }</style></html> |
@@ -1,2 +0,0 @@ |