0.1.1 • Published 1 year ago

za-component-library v0.1.1

Weekly downloads
-
License
-
Repository
-
Last release
1 year ago

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 版本号

0.1.1

1 year ago

0.1.0

1 year ago