Browse Source

Merge pull request #7 from r3oath/master

Better description for hot-reloaded components and their initial values.
pull/8/head
Chris Fritz 9 years ago
parent
commit
f66f540bb9
  1. 7
      template/src/components/Hello.vue

7
template/src/components/Hello.vue

@ -8,10 +8,9 @@
export default {
data () {
return {
// note: changing this line won't causes changes
// with hot-reload because the reloaded component
// preserves its current state and we are modifying
// its initial state.
// Note: modifying `msg` below will not cause changes to occur with
// hot-reload. As reloaded components preserve their initial state,
// modifying these values will have no effect.
msg: 'Hello World!'
}
}

Loading…
Cancel
Save