rty-vue-components
v0.0.7
Published
A Vue.js project
Downloads
3
Readme
Introduce
personal vue components
安装
npm install rty-vue-components -S
引入
全局引入
//main.js
import 'rty-vue-components/dist/rty-vue-components.min.css'
import { rtyButton } from 'rty-vue-components'
Vue.component('rtyButton',rtyButton)
单个引入
import { rtyButton } from 'rty-vue-components'
export default {
components:{ rtyButton }
};
使用
<rty-button></rty-button>