Skip to content
This repository has been archived by the owner on Jul 16, 2020. It is now read-only.

Commit

Permalink
README
Browse files Browse the repository at this point in the history
  • Loading branch information
martinlindhe committed Nov 9, 2015
1 parent 0565f93 commit 66e849c
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ Vue.use(VueInternationalization, {

## Template names

This generate adjusts the strings in order to work with vue-i18n's template names,
The generator adjusts the strings in order to work with vue-i18n's template names,
making it simple to share also named templates from your Laravel translations.

resource/lang/message.php:
Expand All @@ -47,6 +47,13 @@ return [
];
```

in vue-i18n-locales.generated.js:
```js
...
"hello": "Hello {name}",
...
```

Blade template:
```php
<div class="message">
Expand Down

0 comments on commit 66e849c

Please sign in to comment.