cd-vue
v0.1.1
Published
a Web Design Language
Downloads
6
Readme
Codeages Design Vue
a Web Design Language Based on the Vue version
how to use ?
import cdvue from 'cd-vue';
import 'cd-vue/dist/styles/index.css';
Vue.use(cdvue);
If you want to On-demand use?
yarn add babel-plugin-import --dev
Then edit .babelrc:
"plugins": [
["import", {
"libraryName": "cd-vue",
"libraryDirectory": "src/components"
}]
],
Then edit main.js
import {
Alert,
Panel,
} from 'cd-vue';
Vue.component('cd-alert', Alert);
Vue.component('cd-panel', Panel);