Skip to content

gideoncatz/vue-as-cdn-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vue mini-demo

This repo demonstrates the usage of VueJS when integrated into an existing HTML page

  1. We’re starting off from a static HTML page with some text
  2. We are then adding a div which will be the root element for a Vue app with some logic
  3. After that, we are coding the app itself – letting Vue control that div, leaving the other parts of the HTML page untouched
  4. Finally, we apply a few slight structural changes in the app, to see how modern JavaScript code can be organized into convenient ES6 modules.

You can see the progress step by step by individually checking out the tags:

Tag Description
v0.1 Initial commit with no Vue involved
v0.2 Added a tiny hello-world Vue app
v0.3 Added a reusable component
v0.4 Added an input property to the reusable component
v0.5 Added to data the component - score
v0.6 Added buttons to increment the score
v0.7 Added events emission when incrementing the score
v0.8 Converted to ES6 modules system
v1.0 Added this readme 🌝

About

A small demo of VueJS (as CDN) in action, for short workshops

Resources

Stars

0 stars

Watchers

1 watching

Forks

Packages

 
 
 

Contributors