d-banner
v0.5.11
Published
banner which made by html element.
Downloads
43
Readme
d-banner
Simple banner by html element.
Install
npm i d-banner
Quick start
Import globally
//main.js
import Vue from 'vue';
import DBanner from 'd-banner';
import 'd-banner/dist/d-banner.css';
Vue.component('d-banner',DBanner);
new Vue({
...
});
Import locally
//in SFC <script>
import DBanner from "d-banner";
import "d-banner/dist/d-banner.css";
export default {
components: {
"d-banner": DBanner
}
};