Posts

Showing posts from June, 2022

Vue js Standalone

Image
https://www.javatpoint.com/vue-js Standalone Script Vuu Vue can be used as a standalone script file - no build step required! If you have a backend framework already rendering most of the HTML, or your frontend logic isn't complex enough to justify a build step, this is the easiest way to integrate Vue into your stack. You can think of Vue as a more declarative replacement of jQuery in such cases. Vue also provides an alternative distribution called  petite-vue  that is specifically optimized for progressively enhancing existing HTML. It has a smaller feature set, but is extremely lightweight and uses an implementation that is more efficient in no-build-step scenarios. <html>   <head>     <script src="https://cdn.jsdelivr.net/npm/vue@2.5.21/dist/vue.js"></script>   </head>   <body>     <div id="app">       <p>{{ message }}</p>     </div>     <scr...