Below I will share with you a method of compiling and packaging vue to view index files locally. It has a good reference value and I hope it will be helpful to everyone.
/build/config/index.js
assetsPublicPath: './'(compiled and can be viewed locally, '/' has no dot I will post it directly online)
The above is what I compiled for everyone. I hope it will be helpful to everyone in the future.
Related articles:
What are the methods of using echarts3.0 adaptive in vue?
Questions about this in ES6 arrow functions?
Using the plugin owlcarousel in jQuery slideshow (detailed tutorial)
The above is the detailed content of How to compile, package and view index files in vue. For more information, please follow other related articles on the PHP Chinese website!