update
This commit is contained in:
parent
86f690c1eb
commit
58f3e899ce
@ -1,17 +1,17 @@
|
||||
# 🐤 canary-intl
|
||||
# 🐤 @mi/canary-intl
|
||||
|
||||
通用的国际化框架,不绑定任何框架。
|
||||
|
||||
## 如何使用
|
||||
|
||||
> yarn add canary-intl
|
||||
> yarn add @mi/canary-intl
|
||||
|
||||
## 使用 API
|
||||
|
||||
初始化国际化框架
|
||||
|
||||
```javascript
|
||||
import canaryIntl from 'canary-intl';
|
||||
import canaryIntl from '@mi/canary-intl';
|
||||
|
||||
const canaryIntl = canaryIntl.init('en-UK', {
|
||||
'en-UK': {
|
||||
|
Loading…
x
Reference in New Issue
Block a user