Installing, using, and debugging a Vue.js application
In this section, we will analyze all the possible ways of installing Vue.js. We will also create a skeleton for our applications that we will develop and enhance through the next chapters. We will also learn the ways of debugging and testing our applications.
Installing Vue.js
There are a number of ways to install Vue.js. Starting from classic, including the downloaded script into HTML within the <script>
tags, using tools like bower, npm, or Vue's command-line interface (vue-cli
), to bootstrap the whole application.
Let's have a look at all these methods and choose our favorite. In all these examples, we will just show a header on a page saying Learning Vue.js
.
Standalone
Download the vue.js
file. ...
Get Learning Vue.js 2 now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.