From d40c78a0b14c1be209d275796e84e620fbe725ca Mon Sep 17 00:00:00 2001 From: Bruno Lesieur Date: Wed, 10 May 2017 10:46:50 +0200 Subject: [PATCH 1/2] Change `standalone` for `full` like from Official Vuejs.org Signed-off-by: Bruno Lesieur --- docs/en/essentials/getting-started.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/en/essentials/getting-started.md b/docs/en/essentials/getting-started.md index 95c70e7f3..77be4b14f 100644 --- a/docs/en/essentials/getting-started.md +++ b/docs/en/essentials/getting-started.md @@ -4,7 +4,7 @@ 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). +> All examples will be using the full version of Vue to make template parsing possible. See more details [here](https://vuejs.org/v2/guide/installation.html#Runtime-Compiler-vs-Runtime-only). ### HTML From 97de08808654227c5902fc8c86a6e55f83797a58 Mon Sep 17 00:00:00 2001 From: Bruno Lesieur Date: Wed, 10 May 2017 12:17:52 +0200 Subject: [PATCH 2/2] Add some ` into getting-started.md when a code is referenced Signed-off-by: Bruno Lesieur --- docs/en/essentials/getting-started.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/en/essentials/getting-started.md b/docs/en/essentials/getting-started.md index 77be4b14f..a6a7e9e24 100644 --- a/docs/en/essentials/getting-started.md +++ b/docs/en/essentials/getting-started.md @@ -17,7 +17,7 @@ Creating a Single-page Application with Vue.js + vue-router is dead simple. With

- + Go to Foo Go to Bar

@@ -30,7 +30,7 @@ Creating a Single-page Application with Vue.js + vue-router is dead simple. With ### JavaScript ``` js -// 0. If using a module system (e.g. via vue-cli), import Vue and VueRouter and then call Vue.use(VueRouter). +// 0. If using a module system (e.g. via vue-cli), import Vue and VueRouter and then call `Vue.use(VueRouter)`. // 1. Define route components. // These can be imported from other files @@ -40,7 +40,7 @@ const Bar = { template: '
bar
' } // 2. Define some routes // Each route should map to a component. The "component" can // either be an actual component constructor created via -// Vue.extend(), or just a component options object. +// `Vue.extend()`, or just a component options object. // We'll talk about nested routes later. const routes = [ { path: '/foo', component: Foo }, @@ -51,7 +51,7 @@ const routes = [ // You can pass in additional options here, but let's // keep it simple for now. const router = new VueRouter({ - routes // short for routes: routes + routes // short for `routes: routes` }) // 4. Create and mount the root instance.