Getting Started with Vue.js – Vue Instance

If you are someone like me who is struggling to type Vue and ends up typing View, don’t worry, you are in good company.

Getting started with Vue.js involves two simple things:

  1. Install Node.js from https://nodejs.org/en/
  2. That’s it.

In this first tutorial, we will see how to work with the Vue instance. Vue instance is nothing but creating an object for Vue which will then be able to take full advantage of all the functionality available in vue.

To get started, create a project folder for ex: vue-app. Inside this folder, create an index.html or any .html file with the following code. Do read the comments to understand why I wrote what I wrote.

The above codes leads to the following output:

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.