2). VueJS Enviornment Setup & installation

There are many ways to install VueJS.
Direct <script> Include

Simply download and include with a script tag. Vue will be registered as a global variable.
Development Version ( With full warnings and debug mode )
&

Product Version (Warnings stripped 30.90KB min+gzip)

CDN

Below Script tag used for vue.js

<script src="https://cdn.jsdelivr.net/npm/vue@2.5.16/dist/vue.js"></script>
You can browse the source of the NPM package at cdn.jsdelivr.net/npm/vue.

use the production 
version in your published site, replacing vue.js with vue.min.js. This is a smaller build optimized for speed instead of development experience.NPM

NPM

NPM is the recommended installation method when building large scale applications with Vue.


$ npm install vue

CLI

Vue provides an official CLI for quickly scaffolding ambitious Single Page Applications. It provides batteries-included build setups for a modern frontend workflow

Comments

Popular posts from this blog

Angular 4 interview questions and answers for experience

8). Vue.js Methods and Event Handling

12). Vue JS - Slots