Skip to content

Commit

Permalink
Upgrade Bootstrap Server demo Yarn DevDependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
sbernard31 committed Apr 7, 2022
1 parent 181b0e9 commit 7123a40
Show file tree
Hide file tree
Showing 3 changed files with 1,818 additions and 4,560 deletions.
38 changes: 24 additions & 14 deletions leshan-bsserver-demo/webapp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,19 +22,19 @@
"vuetify-dialog": "^2.0.0"
},
"devDependencies": {
"@mdi/font": "^6.2.0",
"@vue/cli-plugin-babel": "^4.5.0",
"@vue/cli-plugin-eslint": "^4.5.0",
"@vue/cli-plugin-router": "^4.5.0",
"@vue/cli-service": "^4.5.0",
"babel-eslint": "^10.1.0",
"eslint": "^6.0.0",
"eslint-plugin-vue": "^7.19.0",
"sass": "~1.32",
"sass-loader": "^10",
"vue-cli-plugin-vuetify": "^2.2.0",
"vue-template-compiler": "^2.6.0",
"vuetify-loader": "^1.7.0"
"@babel/core": "^7.12.16",
"@babel/eslint-parser": "^7.12.16",
"@vue/cli-plugin-babel": "~5.0.0",
"@vue/cli-plugin-eslint": "~5.0.0",
"@vue/cli-service": "~5.0.0",
"eslint": "^7.32.0",
"eslint-plugin-vue": "^8.0.3",
"sass": "~1.32.0",
"sass-loader": "^10.0.0",
"vue-cli-plugin-vuetify": "~2.4.8",
"vue-template-compiler": "^2.6.14",
"vuetify-loader": "^1.7.0",
"webpack": "^5.0.0"
},
"eslintConfig": {
"root": true,
Expand All @@ -46,14 +46,24 @@
"eslint:recommended"
],
"parserOptions": {
"parser": "babel-eslint"
"parser": "@babel/eslint-parser"
},
"rules": {
"vue/valid-v-slot": [
"error",
{
"allowModifiers": true
}
],
"vue/multi-word-component-names": [
"error",
{
"ignores": [
"About",
"Bootstrap",
"Client"
]
}
]
}
},
Expand Down
7 changes: 6 additions & 1 deletion leshan-bsserver-demo/webapp/vue.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,16 @@ module.exports = {
changeOrigin: true,
},
},
// Workarround : https://stackoverflow.com/questions/71783075/sse-doent-work-with-vue-cli-devserver-proxy
compress: false,
},
configureWebpack: {
resolve: {
alias: {
"@leshan-server-core-demo": path.join(__dirname, "../../leshan-server-core-demo/webapp/src"),
"@leshan-server-core-demo": path.join(
__dirname,
"../../leshan-server-core-demo/webapp/src"
),
},
extensions: [".js", ".vue"],
},
Expand Down
Loading

0 comments on commit 7123a40

Please sign in to comment.