1.0.33 • Published 1 year ago
@huongnv080/vn v1.0.33
nodejs-frontend-template
Installation
- Install the dependencies.
``` $ yarn add -D @huongnv080/vn ```
Set to index.tsx or App.tsx
Apply uikit css
```javascript import "@huongnv080/vn/src/uikit" ```
Import Compoment
``` ```javascript import { DT, // Alert Msg DL, // Dailog Loading DDL, // Dailog File Download Icon, // Uikit Icon A, // Link B, // Button C, // Checkbox D, // Year, Month, Datetime, Date, Time F, // File L, // Label I, // Input[text, number, range] M, // Munlti Select R, // Radio S, // Select T, // Textarea } from "@huongnv080/vn/src/components" ```
Use i18n
Add I18n
・Create dir labels ・Create dir [ja, en] in labels
・Create File common.json in dir [ja, en] { "system_auth": "Test label" }
・Create File index.ts in dir labels ・Not set ns same[cml, btl, ael]
export const APP_MSG = { ja : { ns: 'app_cml', json: require('./ja/commons.json') }, en : { ns: 'app_cml', json: require('./en/commons.json') } }
import { addResource } from '@huongnv080/vn/src/utils/I18n' import { APP_MSG } from './labels' addResource(APP_MSG)
1.0.33
1 year ago
1.0.32
1 year ago
1.0.31
1 year ago
1.0.30
1 year ago
1.0.29
1 year ago
1.0.28
1 year ago
1.0.27
1 year ago
1.0.26
1 year ago
1.0.25
1 year ago
1.0.24
1 year ago
1.0.23
1 year ago
1.0.22
1 year ago
1.0.21
1 year ago
1.0.20
1 year ago
1.0.19
1 year ago
1.0.18
1 year ago
1.0.17
1 year ago
1.0.16
1 year ago
1.0.15
1 year ago
1.0.14
1 year ago
1.0.13
1 year ago
1.0.12
1 year ago
1.0.11
1 year ago
1.0.10
1 year ago
1.0.9
1 year ago
1.0.8
1 year ago
1.0.7
1 year ago
1.0.6
1 year ago
1.0.5
1 year ago
1.0.4
1 year ago
1.0.3
1 year ago
1.0.2
1 year ago
1.0.1
1 year ago
1.0.0
1 year ago