/dfzx-ui

UI组件库

Primary LanguageJavaScriptMIT LicenseMIT

dfzx-ui

Introduction

This is an UI framework based on Vue.

demo

👉 https://github.com/andyhuai/dfzx-ui

Usage

  1. Install package [dfzx-ui]
    npm i dfzx-ui
  2. Get Started
// 全局注册
import VaseUI from 'dfzx-ui';
Vue.use(VaseUI, { router });
import 'dfzx-ui/lib/dfzx-ui.css';
// 按需注册
import { Button, KeepAlive } from 'dfzx-ui';
Vue.use(Button).use(KeepAlive, { router });
// 全局注册
<template>
  <div id="app">
    <df-button type="primary">点击报名</df-button>
  </div>
</template>

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