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
Loads .properties files into JavaScript as precompiled functions using
4
-
[dot-properties] and [messageformat].
3
+
Loads .properties files into JavaScript as precompiled functions using [dot-properties] and [messageformat].
5
4
6
-
Property values are parsed directly as ICU MessageFormat. With the default
7
-
options, will assume that the filename has `_` separated parts, of which the
8
-
second is the two- or three-letter language code [as in Java Resource Bundles](https://docs.oracle.com/javase/9/docs/api/java/util/ResourceBundle.html#getBundle-java.lang.String-java.util.Locale-java.lang.ClassLoader-)
5
+
Property values are parsed directly as ICU MessageFormat. With the default options, will assume that the filename has `_` separated parts, of which the second is the two- or three-letter language code [as in Java Resource Bundles].
Starting from version 0.4.0, the loader requires messageformat v3, currently in beta.
18
+
19
19
20
20
## Usage
21
21
22
-
For a working demo of the following, run `npm install` in the
23
-
[`example/`](./example/) directory, and then open `example/dist/index.html` in
24
-
a browser.
22
+
For a working demo of the following, run `npm install && npm run build` in the [`example/`](./example/) directory, and then open `example/dist/index.html` in a browser.
0 commit comments