@8btc/bbt-design
v0.2.24
Published
a Web Design Language
Downloads
43
Readme
BBT Design Vue
A Web Design Language
how to use ?
import bbtDesign from '@8btc/bbt-design'
import '@8btc/bbt-design/dist/styles/index.css'
Vue.use(bbtDesign)
If you want to On-demand use?
yarn add babel-plugin-import --dev
Then edit .babelrc:
"plugins": [
["import", {
"libraryName": "@8btc/bbt-design",
"libraryDirectory": "src/components"
}]
],
Then edit main.js
import { Alert, Panel } from '@8btc/bbt-design'
Vue.component('bbt-alert', Alert)
Vue.component('bbt-panel', Panel)