From e42aa67f172ab8d6b12e9a2a15429ae91473cf87 Mon Sep 17 00:00:00 2001 From: Evan You Date: Mon, 28 Dec 2015 16:47:22 -0500 Subject: [PATCH] add note --- template/src/components/Hello.vue | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/template/src/components/Hello.vue b/template/src/components/Hello.vue index 8932021..04b0670 100644 --- a/template/src/components/Hello.vue +++ b/template/src/components/Hello.vue @@ -8,6 +8,10 @@ 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. msg: 'Hello World!' } }