shouyi-components
v1.0.2
Published
基于 element 的高阶组件
Downloads
4
Readme
介绍
shouyi-components 组件库基于 element-ui 库二次封装,包含组件如下
Install
// 安装
npm install shouyi-components --save
Quick Start
import Vue from "vue"
import Element from "element-ui"
import ShouyiComponents from "shouyi-components"
import "shouyi-components/dist/components.css" // 单独引入样式
Vue.use(Element)
Vue.use(ShouyiComponents)
// 如果是 TS 需要加模块声明
declare module "shouyi-components";
use
<template>
<div id="app">
<search-item></search-item>
</div>
</template>