0.1.2 • Published 3 years ago

retcomponent v0.1.2

Weekly downloads
-
License
-
Repository
-
Last release
3 years ago

Vue 3 + TypeScript + Vite

This template should help get you started developing with Vue 3 and TypeScript in Vite. The template uses Vue 3 <script setup> SFCs, check out the script setup docs to learn more.

Recommended IDE Setup

主文件结构

docs存放ui库文件 src/components存放组件源码文件

现有组件

  1. Dialog弹窗
  2. Toast提示
  3. Button按钮
  4. Banner,BannerItem 轮播图
  5. List 列表组件

组件使用方法

  1. 在mian.js中 ① 单个导入 import { DialogPlugin,ToastPlugin,ButtonPlugin,BannerPlugin,BannerItemPlugin} from 'retcomponent' import 'retcomponent/dist/style.css' app.use(DialogPlugin).use(ToastPlugin).use(ButtonPlugin) ② 全部导入 import {retPlugin} from './components'; import 'retcomponent/dist/style.css' app.use(retPlugin)
  2. 如果是以组件方式显示,在组件前加ne (ne-button,ne-dialog)。如果是以js方法使用,调用.show方法即(Dialog.show(),Toast.show())
0.1.2

3 years ago

0.1.1

3 years ago

0.0.7

3 years ago

0.0.6

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago