Skip to content

Commit

Permalink
📝 docs(gitbook): tweak sfc
Browse files Browse the repository at this point in the history
  • Loading branch information
kazupon committed Apr 12, 2017
1 parent e12352a commit 1cfbc5d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions gitbook/en/sfc.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

If you are building Vue component or Vue application with using single file components, you can manage the locale messages `i18n` custom block.

The below `App.vue` in [single file component example](https://github.com/kazupon/vue-i18n/tree/dev/examples/sfc):
The `App.vue` below in [single file component example](https://github.com/kazupon/vue-i18n/tree/dev/examples/sfc):

```html
<i18n>
Expand Down Expand Up @@ -40,7 +40,7 @@ export default {
</script>
```

You need to use `vue-loader` due to use `i18n` custom block, and the below Webpack configration is required:
You need to use `vue-loader` due to use `i18n` custom block, and the Webpack configration below is required:

```js
module.exports = {
Expand All @@ -66,7 +66,7 @@ module.exports = {

`i18n` custom block need to specify `JSON` format, also you can use `YAML` format by using pre-loader feature of `vue-loader`.

the below `i18n` custom block of `YAML` format:
the `i18n` custom block below of `YAML` format:

```html
<i18n>
Expand All @@ -77,7 +77,7 @@ ja:
</i18n>
```

Webpack conf the below:
Webpack conf below:

```js
module.exports = {
Expand Down

0 comments on commit 1cfbc5d

Please sign in to comment.