From d91a18fdeba11df4b7081d744b7a56c0b713535e Mon Sep 17 00:00:00 2001 From: Vinicius Reis Date: Wed, 19 Oct 2016 22:23:13 -0200 Subject: [PATCH 1/2] Reports on the build needed for the demo work --- docs/en/essentials/getting-started.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/en/essentials/getting-started.md b/docs/en/essentials/getting-started.md index 88c79a075..bb05cf6e7 100644 --- a/docs/en/essentials/getting-started.md +++ b/docs/en/essentials/getting-started.md @@ -29,6 +29,7 @@ Creating a Single-page Application with Vue.js + vue-router is dead simple. With // 1. Define route components. // These can be imported from other files +// This demo works only standalone version of Vue.js const Foo = { template: '
foo
' } const Bar = { template: '
bar
' } From 14a4300b604ce2c0b72330411394a05c3e73cb8f Mon Sep 17 00:00:00 2001 From: Vinicius Reis Date: Thu, 20 Oct 2016 12:35:40 -0200 Subject: [PATCH 2/2] Information moved to the top --- docs/en/essentials/getting-started.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/en/essentials/getting-started.md b/docs/en/essentials/getting-started.md index bb05cf6e7..344327399 100644 --- a/docs/en/essentials/getting-started.md +++ b/docs/en/essentials/getting-started.md @@ -4,6 +4,8 @@ Creating a Single-page Application with Vue.js + vue-router is dead simple. With Vue.js, we are already composing our application with components. When adding vue-router to the mix, all we need to do is map our components to the routes and let vue-router know where to render them. Here's a basic example: +> All examples will be using the standalone version of vue to make template parsing possible. See more details [here](http://vuejs.org/guide/installation.html#Standalone-vs-Runtime-only-Build) + ### HTML ``` html @@ -29,7 +31,6 @@ Creating a Single-page Application with Vue.js + vue-router is dead simple. With // 1. Define route components. // These can be imported from other files -// This demo works only standalone version of Vue.js const Foo = { template: '
foo
' } const Bar = { template: '
bar
' }