duiba-design

vue components in duiba

Usage no npm install needed!

<script type="module">
  import duibaDesign from 'https://cdn.skypack.dev/duiba-design';
</script>

README

duiba-design

安装

npm install --save duiba-design

使用

import { Alert } from 'duiba-design';

Vue.component(Alert.name, Alert);

开发

打包部署:

npm run build

代码校验:

npm run lint

文档中心会使用webpack-dev-server跑一个服务器,通过http://localhost:8080就可以看到我们的组件Demo,以及使用教程。

npm run docs

文档中心js打包:

npm run builddocs