qinyuan-header-vue2
v0.0.14
Published
清远头部插件
Downloads
10
Readme
qinyuan-header-vue2
qinyuan-header-vue2 common components 清远智慧水务前端公共组件
基于 element-ui vue2.x
版本
Install
$ npm i qinyuan-header-vue2
Usage
组件内按需引用 推荐
import { Header } from 'qinyuan-header-vue2'
//注册
components: {
Header
},
//使用
<template>
<Header select="管道修复工程管理"/>
</template>
全局注册使用 不推荐
import Vue from 'vue'
import qinyuanHeader from 'qinyuan-header-vue2'
Vue.use(qinyuanHeader)
//使用
<template>
<Header select="管道修复工程管理"/>
</template>
可选参数 right Number 靠右侧距离 minWidth Number 最小缩放大小
<template>
<Header select="管道修复工程管理" :right='900' :minWidth='710'/>
</template>