vue3中常用的插件package文件记录(vue-cli)
package.json文件
{
"name": "xxx",
"version": "0.1.0",
"private": true,
"scripts": {
"serve": "vue-cli-service serve",
"build": "vue-cli-service build",
"lint": "vue-cli-service lint"
},
"dependencies": {
"@better-scroll/core": "^2.4.1",
"@better-scroll/observe-dom": "^2.4.1",
"core-js": "^3.8.3",
"vue": "^3.2.13",
// 开发插件
"axios": "^1.7.2",
"good-storage": "^1.1.1",
"vue-router": "^4.0.0-0",
"vuex": "^4.1.0"
// 开发插件 end
},
"devDependencies": {
"@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",
// 生产环境插件
"less": "^3.13.1",
"less-loader": "^6.2.0"
// 生产环境插件 end
},
"eslintConfig": {
"root": true,
"env": {
"node": true
},
"extends": [
"plugin:vue/vue3-essential",
"eslint:recommended"
],
"parserOptions": {
"parser": "@babel/eslint-parser"
},
"rules": {}
},
"browserslist": [
"> 1%",
"last 2 versions",
"not dead",
"not ie 11"
]
}
dependencies
"axios":"^1.7.2",
"good-storage":"^1.1.1",
"vue-router":"^4.0.0-0",
"vuex":"^4.1.0"
"element-plus":"^2.1.9",
"spark-md5":"^3.0.2",
"@better-scroll/core":"^2.4.1",
"@better-scroll/observe-dom":"^2.4.1",
"@better-scroll/slide":"^2.4.1",
"@better-scroll/pull-up":"^2.4.1",
"vue3-lazy":"^1.0.0-alpha.1",
"lyric-parser":"^1.0.1",
"create-keyframe-animation":"^0.1.0",
"throttle-debounce":"^3.0.1"
"fastclick":"^1.0.6",
"html2canvas":"^1.0.0-rc.7",
"qrcodejs2":"0.0.2",
"swiper":"^6.4.11",
"vconsole":"^3.3.4",
"weixin-js-sdk":"^1.6.0"
devDependencies
"less":"^3.13.1",
"less-loader":"^6.2.0"