Skip to content

Latest commit

 

History

History
42 lines (30 loc) · 542 Bytes

README.md

File metadata and controls

42 lines (30 loc) · 542 Bytes

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);