javascript - package.json in vue project
高洛峰
高洛峰 2017-07-05 10:45:23
0
3
783

There are so many dependencies when webpack builds the vue project initially
Which ones can be deleted without affecting the initial state of the project

高洛峰
高洛峰

拥有18年软件开发和IT教学经验。曾任多家上市公司技术总监、架构师、项目经理、高级软件工程师等职务。 网络人气名人讲师,...

reply all(3)
Ty80

When you build it with cli, just select N if you don’t need it.

For example, if you don’t need it for karam testing, if you choose N, there will be no dependencies

Another example is the nightwatch tested by e2e

Such as eslint

Turn off everything you don’t want to use, and you will have less dependence.

It’s best not to delete it manually, it’s silly not to mention, time-consuming and labor-intensive, and the scaffolding will report an error

漂亮男人

There is no need to delete the built template, just npm install it

给我你的怀抱

You should be using webpackThis template contains a lot of content, including testing, syntax detection, etc.
If you don’t need so many functions, use vue-cli to generate a webpack simpleThis template is sober.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!