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
PHP中文网2017-07-05 10:47:23
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
给我你的怀抱2017-07-05 10:47:23
You should be using webpack
This 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 simple
This template is sober.