Vue-cli中有没有默认包含webpack呢?
想看看项目里用了哪些插件,什么版本。看 package.json
就可以了。
{
"name": "colyst-web", //项目名称
"version": "2.1.1", //项目版本
"private": true,
"dependencies": { //依赖的相关插件
"antd": "^3.15.0",
"babel-plugin-import": "^1.11.0",
"babel-polyfill": "^6.26.0",
"cross-env": "^5.2.0",
"customize-cra": "^0.2.12",
"downloadjs": "^1.4.7",
"echarts": "^4.1.0",
"favico.js": "^0.3.10",
"intl": "^1.2.5",
"js-cookie": "^2.2.0",
"lodash.debounce": "^4.0.8",
"moment": "^2.21.0",
"promise-prototype-finally": "^1.0.0",
"react": "^16.2.0",
"react-addons-update": "^15.6.2",
"react-app-rewire-less": "^2.1.0",
"react-app-rewired": "^2.1.1",
"react-dnd": "^5.0.0",
"react-dnd-html5-backend": "^5.0.1",
"react-dom": "^16.2.0",
"react-intl": "^2.4.0",
"react-redux": "^5.0.7",
"react-resizable": "^1.7.5",
"react-router-dom": "^4.2.2",
"react-scripts": "2.1.8",
"redux": "^3.7.2",
"viewerjs": "^1.1.0",
"whatwg-fetch": "^2.0.3"
},
"scripts": { //相关命令
"start": "",
"devBuild": "",
},
"devDependencies": {
"babel-plugin-dynamic-import-node": "^2.2.0",
"babel-preset-env": "^1.6.1",
"babel-preset-stage-2": "^6.24.1",
"filemanager-webpack-plugin": "^2.0.5"
},
"browserslist": [
">0.2%",
"not dead",
"not ie <= 11",
"not op_mini all"
]
}
10 回答11.1k 阅读
6 回答3k 阅读
5 回答4.8k 阅读✓ 已解决
4 回答3k 阅读✓ 已解决
2 回答2.6k 阅读✓ 已解决
3 回答5.1k 阅读✓ 已解决
3 回答1.8k 阅读✓ 已解决
包含啊,看 @vue/cli 的
package.json
不就知道它依赖什么了?