language-load-plugin
v1.0.2
Published
## 示例 ```bash new LanguagePlugin( { outputFilePath: resolveCurr() + 'lang1/', outputFiles: [ { fileName: "ar.js", key: "lang_1" }, { fileName: "en.js", key: "lang_2" }, ], request: { meth
Downloads
2
Readme
get language from server
示例
new LanguagePlugin(
{
outputFilePath: resolveCurr() + 'lang1/',
outputFiles: [
{ fileName: "ar.js", key: "lang_1" },
{ fileName: "en.js", key: "lang_2" },
],
request: {
method: "get",
url: "http://192.168.10.191:8000/api/word/list?current=1&pageSize=500&catId[]=45"
},
defaultLanguageKey: "lang_2"
},
)