Creating an instance of Vue
Now that we've included Vue in our project, we can create our first instance of Vue in our script file.
Let's first get rid of this
The Vue library declares a global Vue object, which is a constructor. So we can create a Vue instance by using the new operator, that is
new Vue();. We can also pass in a plain object to the constructor for configuration of Vue.
Click to load comments...