0.2.3 • Published 10 months ago
whaty-ui v0.2.3
whaty-ui
Project setup
npm install
Compiles and hot-reloads for development
npm run serve
Compiles and minifies for production
npm run build
Lints and fixes files
npm run lint
Customize configuration
whaty-ui
├─ .prettierrc
├─ README.md
├─ babel.config.js
├─ examples // 示例
├─ jsconfig.json
├─ lib // 打包后产物
├─ package-lock.json
├─ package.json
├─ plugins // 插件
│ ├─ assets // 静态资源
│ ├─ components // 组件
│ │ ├─ btn // 按钮
│ │ ├─ empty // 空数据
│ │ ├─ index.js // 组件入口
│ │ └─ noSupport // 不支持
│ ├─ directives
│ └─ filters
├─ public // 静态资源
│ ├─ favicon.ico
│ └─ index.html
└─ vue.config.js // 配置
Quick Start
使用指南
import Vue from 'vue'
// 全量引入
import WhatyUI from 'whaty-ui'
Vue.use(WhatyUI)
// 按需引入
import whatyBtn from '../plugins/components/btn'
Vue.use(whatyBtn)