refactor:vue-cli upgrade to 5.0.8

This commit is contained in:
fanxb 2023-03-12 10:54:54 +08:00
parent 4bed4fd34d
commit b9cef34a06
3 changed files with 7831 additions and 6 deletions

View File

@ -20,11 +20,11 @@
"vuex": "^3.4.0" "vuex": "^3.4.0"
}, },
"devDependencies": { "devDependencies": {
"@vue/cli-plugin-babel": "~4.4.0", "@vue/cli-plugin-babel": "~5.0.8",
"@vue/cli-plugin-eslint": "~4.4.0", "@vue/cli-plugin-eslint": "~5.0.8",
"@vue/cli-plugin-router": "~4.4.0", "@vue/cli-plugin-router": "~5.0.8",
"@vue/cli-plugin-vuex": "~4.4.0", "@vue/cli-plugin-vuex": "~5.0.8",
"@vue/cli-service": "~4.4.0", "@vue/cli-service": "~5.0.8",
"@vue/eslint-config-airbnb": "^5.0.2", "@vue/eslint-config-airbnb": "^5.0.2",
"babel-eslint": "^10.1.0", "babel-eslint": "^10.1.0",
"eslint": "^6.7.2", "eslint": "^6.7.2",

7824
bookmark_front/pnpm-lock.yaml generated Normal file

File diff suppressed because it is too large Load Diff

View File

@ -7,7 +7,8 @@ module.exports = {
proxy: { proxy: {
"/bookmark/api": { "/bookmark/api": {
//这里最好有一个 / //这里最好有一个 /
target: "http://localhost:8088", // 服务器端接口地址 // target: "http://localhost:8088", // 服务器端接口地址
target: "https://bm.fleyx.com", // 服务器端接口地址
ws: true, //如果要代理 websockets配置这个参数 ws: true, //如果要代理 websockets配置这个参数
// 如果是https接口需要配置这个参数 // 如果是https接口需要配置这个参数
changeOrigin: true, //是否跨域 changeOrigin: true, //是否跨域