fix server locale
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
"build": "webpack",
|
||||
"buildprod": "webpack --progress --config webpack.config.js --env production",
|
||||
"dev": "webpack --watch",
|
||||
"serve": "webpack --watch"
|
||||
"serve": "webpack-dev-server --inline --progress --config webpack.config.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"axios": "0.19.2",
|
||||
@@ -41,6 +41,7 @@
|
||||
"@vue/cli-plugin-router": "^4.1.0",
|
||||
"@vue/cli-plugin-typescript": "^4.1.0",
|
||||
"@vue/cli-plugin-vuex": "^4.1.0",
|
||||
"@vue/cli-service": "^4.2.3",
|
||||
"autoprefixer": "^7.1.2",
|
||||
"babel-loader": "8.0.6",
|
||||
"chalk": "^2.0.1",
|
||||
|
||||
@@ -32,6 +32,16 @@ const optimization = {
|
||||
module.exports = {
|
||||
mode: "development",
|
||||
optimization,
|
||||
devServer: {
|
||||
contentBase: __dirname,
|
||||
historyApiFallback: true,
|
||||
port: 8081
|
||||
// hot: true,
|
||||
},
|
||||
watchOptions: {
|
||||
poll: 1500 // Check for changes every second
|
||||
, aggregateTimeout: 4000
|
||||
},
|
||||
entry: ['./src/main.ts'],
|
||||
output: {
|
||||
path: path.resolve(__dirname, './dist'),
|
||||
|
||||
Reference in New Issue
Block a user