Getting Start with Vue.js

Getting Start with Vue.js

Hi, Vue js is a another light weighted framework like an angular js. Which is used to built a single page applications. Lets see how to install vue.js and gettings start with it.

Lets Install Required dependencies

By using Npm install vue js

Enter the below command to install vue.js vue resources and bootstrap

Lets create main files

Start Html :

Call Bootstrap for css
Call vue.js and vue-resource.js libraries to start with Vue

Lets Create New Vue Instances

el => Where we need to target

data => key will be the object where all our ViewModel data is registered
Lets run  your URL in your browser : http://localhost:8888/vueExamples/

It will display the “Say Hello to World!” at Title area.
Thats it, Now you have installed Vue js Succcessfully.

Getting Start with Vue js