UNPKG

primevue-zhcn

Version:

primevue-zhCN is a Chinese language package specifically designed for PrimeVue UI library.

26 lines (16 loc) 623 B
# primevue-zhCN(primevue 中文语言包) primevue-zhCN is a Chinese language package specifically designed for PrimeVue UI library. primevue-zhCN 是专为 PrimeVue UI 库设计的中文语言包。 ## 使用 ```ts import zhCN from "primevue-zhcn"; app.use(PrimeVue, { locale: zhCN, }); ``` ## 注意 - DatePicker 日期选择组件在中文环境下需要主动填写 dateFormat 属性为"dd/mm/yy",否则日期显示格式不正确。 ``` <DatePicker v-model="date" dateFormat="dd/mm/yy" /> ``` [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)