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年軟件開(kāi)發(fā)和IT教學(xué)經(jīng)驗(yàn)。曾任多家上市公司技術(shù)總監(jiān)、架構(gòu)師、項(xiàng)目經(jīng)理、高級(jí)軟件工程師等職務(wù)。 網(wǎng)絡(luò)人氣名人講師,...
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
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.