Skip to content

Commit

Permalink
perf: update vue3
Browse files Browse the repository at this point in the history
  • Loading branch information
wojiushixiaobai committed Oct 11, 2024
1 parent b86f151 commit 59949cf
Show file tree
Hide file tree
Showing 4 changed files with 6,288 additions and 6,461 deletions.
2 changes: 1 addition & 1 deletion ui/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ module.exports = {
env: {
browser: true,
node: true,
es6: true
es2022: true
},
extends: ['plugin:vue/recommended', 'eslint:recommended'],
globals: {
Expand Down
17 changes: 9 additions & 8 deletions ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
"version": "0.1.0",
"private": true,
"scripts": {
"serve": "NODE_OPTIONS=--openssl-legacy-provider vue-cli-service serve",
"build": "NODE_OPTIONS=--openssl-legacy-provider vue-cli-service build",
"lint": "NODE_OPTIONS=--openssl-legacy-provider vue-cli-service lint",
"fix": "NODE_OPTIONS=--openssl-legacy-provider vue-cli-service lint --fix"
"serve": "vue-cli-service serve",
"build": "vue-cli-service build",
"lint": "vue-cli-service lint",
"fix": "vue-cli-service lint --fix"
},
"dependencies": {
"@babel/core": "^7.24.9",
Expand All @@ -15,11 +15,12 @@
"@fortawesome/fontawesome-svg-core": "^6.5.2",
"@fortawesome/free-solid-svg-icons": "^6.5.2",
"@fortawesome/vue-fontawesome": "^2.0.10",
"@vue/compat": "^3.1.0",
"axios": "^1.7.2",
"core-js": "^3.26.1",
"element-ui": "^2.15.12",
"guacamole-common-js": "1.3.0",
"vue": "^2.7.16",
"vue": "^3.1.0",
"vue-cookies": "^1.7.4",
"vue-i18n": "^8.28.2",
"vue-router": "^3.5.2",
Expand All @@ -30,9 +31,9 @@
"@vue/cli-plugin-babel": "^5.0.8",
"@vue/cli-plugin-eslint": "^5.0.8",
"@vue/cli-service": "^5.0.8",
"eslint": "^7.32.0",
"eslint-plugin-vue": "^9.27.0",
"vue-template-compiler": "^2.7.14"
"@vue/compiler-sfc": "^3.1.0",
"eslint": "8",
"eslint-plugin-vue": "8"
},
"eslintConfig": {
"root": true,
Expand Down
1 change: 1 addition & 0 deletions ui/vue.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,6 @@ module.exports = {
}
},
chainWebpack(config) {
config.resolve.alias.set('vue', '@vue/compat')
}
}
Loading

0 comments on commit 59949cf

Please sign in to comment.