fix server locale

This commit is contained in:
=
2020-03-12 10:36:22 +01:00
parent 287b7f1239
commit f90b3a9074
2 changed files with 12 additions and 1 deletions
+2 -1
View File
@@ -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",
+10
View File
@@ -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'),