@xnsk/xnsk_fe_vant_pro v1.0.9-alpha.21
Features
- 🚀 1KB Component average size (min+gzip)
- 🚀 65+ High quality components
- 💪 90%+ Unit test coverage
- 💪 Written in TypeScript
- 📖 Extensive documentation and demos
- 📖 Provide Sketch and Axure design resources
- 🍭 Support Vue 2
- 🍭 Support Tree Shaking
- 🍭 Support Custom Theme
- 🍭 Support i18n
- 🌍 Support SSR
Install
npm i @xnsk/xnsk_fe_vant_pro -S
Quickstart
import Vue from 'vue';
import { Button } from '@xnsk/xnsk_fe_vant_pro';
import '@xnsk/xnsk_fe_vant_pro/lib/index.css';
Vue.use(Button);
Browser Support
supports modern browsers and Android >= 4.0、iOS >= 8.0.
Catalogue
仓库的组件代码位于 src 下,每个组件一个文件夹 docs 目录下是文档网站的代码,本地开发时可以在目录下运行 yarn dev 开启文档网站项目主要目录如下:
vant ├─ build # 构建 ├─ docs # 文档 ├─ src # 组件 ├─ packages # 子包 ├─ test # 单测 └─ types # 类型
Add New Component
添加新组件时,请按照下面的目录结构组织文件,并在 vant.config.js 中配置组件名称。
src └─ button ├─ demo # 示例代码 ├─ test # 单元测试 ├─ index.js # 组件入口 ├─ index.less # 组件样式 ├─ README.md # 英文文档 └─ README.zh-CN.md # 中文文档
5 months ago
5 months ago
5 months ago
10 months ago
10 months ago
10 months ago
10 months ago
9 months ago
9 months ago
7 months ago
7 months ago
6 months ago
10 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago