KO
|
EN
gitlite — search
Search
#javascript
#python
#hacktoberfest
#react
#ai
#typescript
#llm
#go
#golang
#android
#machine-learning
#rust
#deep-learning
#linux
vant-components
★ 9
Open GitHub ↗
基于vant-ui的二次封装组件库,欢迎大家使用
Download README (.md)
Explore Similar Repositories
Upload-Multiple-Image-
:
Upload multile images to server
AscTrio
:
AscTrio 是基于 Pytest 开发的接口自动化测试框架
GetSimple-SmtpPlugin-CSRF2RCE
:
GetSimple CMS My SMTP Contact Plugin <= v1.1.1 - CSRF to RCE
DEX
:
The smart contracts
sis-site
:
Website sources for the Apache SIS website
// repository documentation
Was this content helpful?
★ 0
(0 ratings)
Select Rating:
★
★
★
★
★
Submit Feedback
Recent Feedback
×
Download README
Do you want to download the
README.md
file for
vant-components
?
Download (.md)
# vantui-components [github pages](https://zehuichan.github.io/vant-components/) ## 前置条件 ```js import Vue from 'vue' import Vant from 'vant' import 'vant/lib/index.css' Vue.use(Vant) ``` ### 安装 ```sh npm i vantui-components -S #or yarn add vantui-components ``` ### 引入组件 ```js // main.js // 全局引入 import VComponents from 'vantui-components' Vue.use(VComponents) ``` ### 按需引入 ```js import { VTable } from 'vantui-components' export default { components: { VTable } } ``` ### 如何新建组件 ```shell npm i -g plop plop / npm run new 选择业务模块 输入组件中文名称 输入组件英文名称 开始组件编写工作 ```