cd-vue

0.1.1 • Public • Published

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

Package Sidebar

Install

npm i cd-vue

Weekly Downloads

0

Version

0.1.1

License

MIT

Unpacked Size

471 kB

Total Files

66

Last publish

Collaborators

  • lileiseven
  • codeages-admin