Skip to content

Commit d7fcf2d

Browse files
authored
fix typo
1 parent c75cb46 commit d7fcf2d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/build.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -32,14 +32,14 @@ And then run `vue build index.js` and go to `http://localhost:4000`
3232
$ vue build index.js --prod
3333
```
3434

35-
If your want to directly test a component without manually create a Vue instance for it, try:
35+
If you want to directly test a component without manually create a Vue instance for it, try:
3636

3737
```bash
3838
$ vue build Component.vue
3939
```
4040

4141
<details><summary>How does this work?</summary>
42-
When the input file ends with `.vue` extension, we use a [default app entry](/lib/default-entry.js) to load the given component, otherwise we treat it as a normal webpack entry. For jsx component which ends with `.js` extension, you can enable this behavior manually by adding `--mount`.
42+
When the input file ends with `.vue` extension, we use a [default app entry](/lib/default-entry.es6) to load the given component, otherwise we treat it as a normal webpack entry. For jsx component which ends with `.js` extension, you can enable this behavior manually by adding `--mount`.
4343
</details>
4444

4545
**To distribute component:**
@@ -99,7 +99,7 @@ Used as the path to webpack config file, eg: `--webpack webpack.config.js`
9999

100100
Directly use as webpack config.
101101

102-
Note that we use [webpack-merge](https://github.com/survivejs/webpack-merge) to merge you webpack config with default webpack config.
102+
Note that we use [webpack-merge](https://github.com/survivejs/webpack-merge) to merge your webpack config with default webpack config.
103103

104104
#### autoprefixer
105105

@@ -154,7 +154,7 @@ module.exports = {
154154
}
155155
```
156156

157-
This way, you fetch `/api/todos` in your Vue app, the development server will proxy your request to `http://localhost:8080/api/todos`.
157+
This way, when you fetch `/api/todos` in your Vue app, the development server will proxy your request to `http://localhost:8080/api/todos`.
158158

159159
We use [http-proxy-middleware](https://github.com/chimurai/http-proxy-middleware) under the hood, so the `proxy` option can also be an object:
160160

0 commit comments

Comments
 (0)