🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

@21cnfe/vui

Package Overview
Dependencies
Maintainers
2
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@21cnfe/vui

基于 Ant Design 和 Vue 的移动端UI组件库。

npmnpm
Version
1.3.0
Version published
Weekly downloads
34
30.77%
Maintainers
2
Weekly downloads
 
Created
Source

vui 使用必读

Changelog

v1.3.0

  • feat: 新增Rate评分组件
  • fix: 修复tabs组件面板滑动问题
  • fix: 优化轮播点击事件
  • feat: 扩展datepicker组件自定义年月格式
  • fix: 修复toast因动画过渡效果导致的体验问题
  • fix: 修复pullToRefresh组件触发刷新机制问题

v1.2.3

  • pref: 优化内部子组件注册方式

v1.2.2

  • feat: 新增指令加载组件Loading
  • feat: Tabs组件新增面板滑动
  • fix: 优化Toast、Message、Modal组件销毁机制

v1.2.1

  • fix: 优化Pikcer组件用法
  • fix: 优化Datepicker组件用法
  • fix: 修复Toast组件位置样式问题

组件库使用

  • 项目脚手架目录运行 npm i @21cnfe/vui
  • 项目主入口 main.js引入组件库

全量引入方式

import Vui from '@21cnfe/vui'
import '@21cnfe/vui/dist/styles/vui.css'
Vue.use(Vui)

按需引入方式

1、全局注册

import { Actionsheet } from '@21cnfe/vui'  
Vue.component('Actionsheet', Actionsheet)  

2、局部注册

import { Actionsheet } from '@21cnfe/vui'
export default { 
components: { 
    Actionsheet 
  }  
}

Keywords

vui,vue,ant-design

FAQs

Package last updated on 05 Aug 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts