whaty-ui
v0.2.4
Published
基于element-ui实现的二次封装pc端框架
Readme
whaty-ui
Project setup
npm installCompiles and hot-reloads for development
npm run serveCompiles and minifies for production
npm run buildLints and fixes files
npm run lintCustomize 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)