The code modified after using vue create
is shown here. If you look at the html template and javascript, you can know how to do basic two-way bindings using v-bind
, v-on
, the css part can be ignored, I didn't put a lot of effort on it.
After learning the binding basics, see Vuex if you needs deep-bindings or bindings that acts like global variables.
npm install
npm run serve
npm run build
npm run test
npm run lint