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.