0.1.3 • Published 4 years ago

tyelui v0.1.3

Weekly downloads
10
License
-
Repository
github
Last release
4 years ago

安装

  • npm安装
npm install tyelui -S
  • yarn安装
yarn add tyelui -S

使用

// 将自动注册所有组件为全局组件
import tyelui from 'tyelui'

Vue.use(tyelui)

按需引入

按需引入仅支持基于ES moduletree shaking,按需引入示例如下:

import { MaxHeight } from 'tyelui'

Vue.use(MaxHeight)

UMD版

UMD版可直接使用script标签引入,UMD版文件下载请移步UMD,引入后将自动把所有组件注册为Vue全局组件,引入DataV前请确保已引入Vue