Skip to content

aitchnyu/sdsvue

Repository files navigation

Vue.js for bug-free interactive web pages

Exercise 1

  • How to introduce in a page
  • Reactivity and Dev tools
  • Binding data and inputs
  • Methods
  • Fetching data

Steps

  • Install Vue Devtools in Firefox or Chrome
  • Open Vue devtools for exercise_1_practice.html
  • Click root component
  • $vm0.name = 'Somebody'
  • randomName(function(name){console.log("name is", name)})
  • Text input - bind to model
  • Buttons - bind to method
  • reverse and fetchName

Minified and dev version - size and speed, download What happens without v-cloak?

Resources

Excercise 2

  • Bootstrap 4
  • Usage of components
  • Data binding with number
  • v-for and :key
  • computed properties

Steps

  • Display table entries - bind to numbers
  • row color
  • addNewItem - just push to array
  • total and costliest

Resources

Excercise 3

  • Wrapper around popular projects like Leaftet
  • references

Steps

  • set center and markers to any of the values
  • set zoom
  • on zoom and move, show map coordinates
  • add center to map

Resources

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages