Except vue, vue-* does not need to be loaded because you can directly on the page <script src="vue.min.js"></script><script src="vue.min.js"></script> <script src="vue-route.min.js"></script><script src="vue-route.min.js"></script>
The first one seems to be unnecessary, The second one is too large, which means you have too many dependencies, so this directory is very large, but don’t worry, you don’t actually need node_moudule when publishing
Except vue, vue-* does not need to be loaded
because you can directly on the page
<script src="vue.min.js"></script>
<script src="vue.min.js"></script>
<script src="vue-route.min.js"></script>
<script src="vue-route.min.js"></script>
package.json
.babelrc
For the webpack side, using laravel-mix is enough
In this way, vue/jquery, etc. will not be packaged when packaging. Just quote jquery and vue on the page
The first one seems to be unnecessary,
The second one is too large, which means you have too many dependencies, so this directory is very large, but don’t worry, you don’t actually need node_moudule when publishing