November 2017
Beginner to intermediate
398 pages
8h 42m
English
Any Vue app need a JavaScript entry file where the code will start:
import Vue from 'vue' new Vue({ el: '#app', render: h => h('div', 'hello world'), })
First, we import the Vue core library into the file. Then, we create a new root Vue instance that will attach to the element of id app in the page.
Finally, we display a div element containing the 'hello world' text, thanks to the render option we will introduce in the "Render functions" section.
Read now
Unlock full access