install vue js
snippet in javascript

install vue js

user3077

npm install -g vue-cli    //make sure you have node and npm installed 
vue init webpack <appname>  //  eg:  vue init webpack myapp
cd <appname>               // cd myapp
npm install
npm run dev  //server will start in port 8080

install vue

user9918

npm install -g @vue/cli
//to see the version installed
vue --version 

vue js cdn

user5264

<script src="https://cdn.jsdelivr.net/npm/vue@2.6.12/dist/vue.js"></script>

vuejs cdn

user9384

/*for development ===>*/ <script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
/*for production ===>*/ <script src="https://cdn.jsdelivr.net/npm/vue@2.6.11"></script>

install vue js

user2393

# latest stable
$ npm install vue

vue cdn

user7120

<script type="module">
  import Vue from 'https://cdn.jsdelivr.net/npm/vue@2.6.11/dist/vue.esm.browser.js'
</script>