za-component-library

0.1.1 • Public • Published

lib-template

Project setup

yarn install

Compiles and hot-reloads for development

yarn serve

Compiles and minifies for production

yarn build

Lints and fixes files

yarn lint

Customize configuration

See Configuration Reference.

如何使用

在项目中安装依赖包 yarn add git+https://gitee.com/uni-yunApp/zwc-ui.git#master (后面可以接版本号)

在项目的main.js中引入 import ZwcUI from 'zwc-ui'; import 'zwc-ui/lib/zwc-ui.css';

项目目录结构

examples --用于测试写好的组件

packages --用于存放编写的组件

注意事项 package.json 一定要指明包的入口,否则项目中无法使用

使用tag来更新包的版本

git add * git commit -m 'xxxx' git tag 版本号 git push git push origin 版本号

Package Sidebar

Install

npm i za-component-library

Weekly Downloads

0

Version

0.1.1

License

none

Unpacked Size

192 kB

Total Files

12

Last publish

Collaborators

  • zhengwencai