Skip to content

Commit a1b60e7

Browse files
committed
typos fixed, thanks to @gbezyuk
1 parent 9dd58ce commit a1b60e7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/v2/guide/render-function.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ order: 15
66

77
## Basics
88

9-
Vue recommends using templates to build your HTML in the vast majority of cases. There are situations however, where you really need the full programmatic power of JavaScript. That's where you can use the **render function**, a closer-to-the-compiler alternative to templates.
9+
Vue recommends using templates to build your HTML in the vast majority of cases. There are situations however, where you really need the full programmatic power of JavaScript. That's where you can use the **render function**, a closer-to-the-compiler alternative to templates.
1010

1111
Let's dive into a simple example where a `render` function would be practical. Say you want to generate anchored headings:
1212

src/v2/guide/single-file-components.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ order: 19
66

77
## Introduction
88

9-
In many Vue projects, global components will be defined using `Vue.component`, followed by `new Vue({ el: '#container '})` to target a container element in the body of every page.
9+
In many Vue projects, global components will be defined using `Vue.component`, followed by `new Vue({ el: '#container' })` to target a container element in the body of every page.
1010

1111
This can work very well for small to medium-sized projects, where JavaScript is only used to enhance certain views. In more complex projects however, or when your frontend is entirely driven by JavaScript, these disadvantages become apparent:
1212

0 commit comments

Comments
 (0)