You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-4Lines changed: 1 addition & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -95,7 +95,7 @@ console.log(localize("Hello world !"));
95
95
```
96
96
97
97
### Vue
98
-
#### main.js
98
+
#### app.js
99
99
```js
100
100
import { localize } from"nativescript-localize";
101
101
@@ -108,9 +108,6 @@ Vue.filter("L", localize);
108
108
<Label :text="'I am %s'|L('user name')"></Label>
109
109
```
110
110
111
-
#### vue-cli-template
112
-
The localization files placed under `dist/app/i18n/*` must be cleaned since they're not correctly updated when modified. To do so, you can run the command `rm dist/app/i18n/*`.
113
-
114
111
## File format
115
112
Each file is imported using `require`, use the file format of your choice:
0 commit comments