diff --git a/package.json b/package.json index 20e074a..2c55eb0 100644 --- a/package.json +++ b/package.json @@ -17,10 +17,10 @@ "element-ui": "^2.15.13", "file-saver": "2.0.5", "js-cookie": "^3.0.5", - "less": "^4.1.3", + "less": "^4.1.3", "less-loader": "^11.1.3", "vue": "^2.6.14", - "vue-router": "^4.2.2" + "vue-router": "^3.1.3" }, "devDependencies": { "@babel/core": "^7.12.16", diff --git a/vue.config.js b/vue.config.js index 4a0ad91..3701292 100644 --- a/vue.config.js +++ b/vue.config.js @@ -31,7 +31,7 @@ module.exports = defineConfig({ } } } - }, + }, pages:{ index:{ entry:'src/pages/index.js', diff --git a/yarn.lock b/yarn.lock index 83b107e..dcc909c 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1644,11 +1644,6 @@ optionalDependencies: prettier "^1.18.2 || ^2.0.0" -"@vue/devtools-api@^6.5.0": - version "6.5.0" - resolved "https://registry.npmmirror.com/@vue/devtools-api/-/devtools-api-6.5.0.tgz#98b99425edee70b4c992692628fa1ea2c1e57d07" - integrity sha512-o9KfBeaBmCKl10usN4crU53fYtC1r7jJwdGKjPT24t348rHxgfpZ0xL3Xm/gLUYnc0oTp8LAmrxOeLyu6tbk2Q== - "@vue/vue-loader-v15@npm:vue-loader@^15.9.7": version "15.10.1" resolved "https://registry.npmmirror.com/vue-loader/-/vue-loader-15.10.1.tgz#c451c4cd05a911aae7b5dbbbc09fb913fb3cca18" @@ -5972,12 +5967,10 @@ vue-loader@^17.0.0: hash-sum "^2.0.0" watchpack "^2.4.0" -vue-router@^4.2.2: - version "4.2.2" - resolved "https://registry.npmmirror.com/vue-router/-/vue-router-4.2.2.tgz#b0097b66d89ca81c0986be03da244c7b32a4fd81" - integrity sha512-cChBPPmAflgBGmy3tBsjeoe3f3VOSG6naKyY5pjtrqLGbNEXdzCigFUHgBvp9e3ysAtFtEx7OLqcSDh/1Cq2TQ== - dependencies: - "@vue/devtools-api" "^6.5.0" +vue-router@^3.1.3: + version "3.6.5" + resolved "https://registry.npmmirror.com/vue-router/-/vue-router-3.6.5.tgz#95847d52b9a7e3f1361cb605c8e6441f202afad8" + integrity sha512-VYXZQLtjuvKxxcshuRAwjHnciqZVoXAjTjcqBTz4rKc8qih9g9pI3hbDjmqXaHdgL3v8pV6P8Z335XvHzESxLQ== vue-style-loader@^4.1.0, vue-style-loader@^4.1.3: version "4.1.3"