Skip to content

codeages-design/cd-vue

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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