Build an App with Vue.js: A Lightweight Alternative to AngularJS
- The addEvent method first checks to make sure we at least have a value present for event.name and if so, pushes the event onto the the events array.
- On the data key, we are registering both the event object that will hold our form data, as well as an empty events array that will be populated with data when the application loads.
- If we refresh the page, we see that we get the events data displayed and that we can also add in new events.
Read the full article, click here.
Front-end frameworks like AngularJS allow us to build out very nice single page applications easily, especially when we become well versed with all the…
Build an App with Vue.js: A Lightweight Alternative to AngularJS | Scotch