October 2018
Intermediate to advanced
590 pages
15h 5m
English
Creating a Vue instance is the start of every Vue.js application. Typically, a Vue application consists of two types of Vue instance—the root Vue instance and component instances. You create the root instance with the Vue function, as follows:
new Vue({/* options */});
The options object here is where you describe your application. Vue.js takes this object and initializes the Vue instance.
Let's create a simple application, called the Messages App and see how to use the options object. This SPA has the following features:
We will start by creating the index.html file and, from there, we will build our application ...
Read now
Unlock full access