Getting Started with Vue.js
I've been using AngularJS for the longest time. I decided to level up my front-end development knowledge, and part of that is learning about new front-end frameworks. Angular and React are the most popular ones these days, but I also stumbled on Vue. I immediately liked it. In this post, I share how easy it is to get started using Vue. Even easier than AngularJS! It's Very, Very Easy To get started using Vue, follow these steps: 1. Create a new HTML page and add a reference to the Vue script file. You can download a copy or reference it via a CDN: <script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script> 2. Create an element that Vue will manage. Normally this would be a div . Give it an id: <div id="app"> </div> 3. Inside, create a data-binding target using curly brace syntax or mustaches, similar to what is used in other frameworks like AngularJS: Hello, {{message}}! 4. Through JavaScript, cr...