wwlocal-ui
TypeScript icon, indicating that this package has built-in type declarations

0.0.14 • Public • Published

wwlocal-ui

Introduction

政务微信linux/mac 桌面端 UI组件库

Usage

  1. Install package [wwlocal-ui]
    npm i -D @tencent/wwlocal-ui
  2. Get Started
// 全局注册
import wwlocalUI from 'wwlocal-ui';
Vue.use(wwlocalUI);
import 'wwlocal-ui/lib/wwlocal-ui.css';
// 按需注册
import { WwSearchBar, WwVoiceWatch, WwToast, WwLoading, WwPopover, WwTree, WwDatePicker } from 'wwlocal-ui';
import 'wwlocal-ui/lib/wwlocal-ui.css';
Vue.use(WwSearchBar);
Vue.use(WwVoiceWatch);
Vue.use(WwToast);
Vue.use(WwLoading);
Vue.use(WwPopover);
Vue.use(WwTree);
Vue.use(WwDatePicker);
// 全局注册
<template>
  <div id="app">
    <WwSearchBar v-on:onClear="clearChatListSearchInput"
                            v-on:onChanged="onChanged($event)"
                            :defaultCenter="false"
                            :searchKeyword="searchKeyword"
                            type="white"
                            :inputWidth="220"/>
  </div>
</template>

<script>
export default {};
</script>

Readme

Keywords

none

Package Sidebar

Install

npm i wwlocal-ui

Weekly Downloads

7

Version

0.0.14

License

MIT

Unpacked Size

4.67 MB

Total Files

52

Last publish

Collaborators

  • zhang.yingxuan
  • pongtang
  • ivyyguo
  • yumiluo