3 ms·
You can run it with just a script tag: https://vuejs.org/guide/extras/ways-of-using-vue.html#standalone-script https://vuejs.org/guide/extras/ways-of-using-vue.
by macNchz 3y ago
You can run it with just a script tag: https://vuejs.org/guide/extras/ways-of-using-vue.html#standalone-script https://vuejs.org/guide/extras/ways-of-using-vue.html#standa...
They even describe it as a "declarative replacement for jQuery" in the docs!
- arp242 3y agoHow do you include all the pages and components with that? e.g. I have about 60 .vue pages and 10 .vue components. Last time I looked at this everything seemed pretty hacky and came with some pretty serious trade-offs.
- codegeek 3y agoI have come across this: https://github.com/FranckFreiburger/vue3-sfc-loader https://github.com/FranckFreiburger/vue3-sfc-loader Might be worth trying. The problem is that these 3rd party libraries may work but you may end up needing a build system for a new library that you may need in the future. I tried but for complex applications with JS, you unfortunately cannot get away from the build system.