⬆️ 升级依赖

This commit is contained in:
ronger 2021-08-12 11:35:53 +08:00
parent 880e2c87ba
commit ff8dda1e8b
3 changed files with 1002 additions and 966 deletions

View File

@ -57,7 +57,7 @@ export default {
{src: '~/plugins/extend'}, {src: '~/plugins/extend'},
{src: '~/plugins/axios'}, {src: '~/plugins/axios'},
{src: '~/plugins/element-ui'}, {src: '~/plugins/element-ui'},
{src: '~/plugins/vditor', ssr: false}, {src: '~/plugins/vditor', ssr: false}
// {src: '~/plugins/vue-cropper', ssr: false} // {src: '~/plugins/vue-cropper', ssr: false}
], ],
/* /*
@ -102,6 +102,18 @@ export default {
// rules[2].use[0] is babel-loader // rules[2].use[0] is babel-loader
config.module.rules.push({test: /\.txt$/, use: 'raw-loader'}) config.module.rules.push({test: /\.txt$/, use: 'raw-loader'})
config.module.rules[2].use[0].options.plugins = ['lodash'] config.module.rules[2].use[0].options.plugins = ['lodash']
},
babel: {
presets({ envName }) {
return [
[
'@nuxt/babel-preset-app',
{
loose: true
}
]
]
}
} }
} }
} }

View File

@ -15,14 +15,14 @@
"babel-plugin-lodash": "^3.3.4", "babel-plugin-lodash": "^3.3.4",
"cookieparser": "^0.1.0", "cookieparser": "^0.1.0",
"echarts": "^4.9.0", "echarts": "^4.9.0",
"element-ui": "^2.15.1", "element-ui": "^2.15.5",
"express": "^4.17.1", "express": "^4.17.1",
"js-cookie": "^2.2.1", "js-cookie": "^2.2.1",
"net": "^1.0.2", "net": "^1.0.2",
"nuxt": "^2.15.3", "nuxt": "^2.15.8",
"raw-loader": "^4.0.2", "raw-loader": "^4.0.2",
"save-svg-as-png": "^1.4.17", "save-svg-as-png": "^1.4.17",
"simple-icons": "^5.8.0", "simple-icons": "^5.8.1",
"sockjs-client": "^1.5.0", "sockjs-client": "^1.5.0",
"stompjs": "^2.3.3", "stompjs": "^2.3.3",
"vditor": "^3.8.4", "vditor": "^3.8.4",
@ -33,6 +33,6 @@
"@nuxtjs/proxy": "^2.1.0", "@nuxtjs/proxy": "^2.1.0",
"lodash-webpack-plugin": "^0.11.6", "lodash-webpack-plugin": "^0.11.6",
"node-sass": "^5.0.0", "node-sass": "^5.0.0",
"sass-loader": "^10.1.1" "sass-loader": "^10.2.0"
} }
} }

1944
yarn.lock

File diff suppressed because it is too large Load Diff