Skip to content

Commit ac6c3d5

Browse files
authored
Add usage instructions for plain vanilla JS browser integration (#146)
1 parent a722b4e commit ac6c3d5

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

+4
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,10 @@ for plain browser:
7979
<!-- an example can be found in example/jquery/index.html -->
8080
```
8181

82+
```js
83+
i18next.use(i18nextHttpBackend).init(i18nextOptions);
84+
```
85+
8286
- As with all modules you can either pass the constructor function (class) to the i18next.use or a concrete instance.
8387
- If you don't use a module loader it will be added to `window.i18nextHttpBackend`
8488

0 commit comments

Comments
 (0)