mega-design-library

1.1.3 • Public • Published

配置说明文档

第一步

yarn

第二步

yarn start  运行
yarn build  打包

第三步

yarn publish  上传

本地调试

yarn link  创建链接
yarn unlink  关闭链接

使用方法

基础组件

import {} from 'mega-design-library'

高级组件

import {} from 'mega-design-library/lib/pro'

通用样式

@import '~mega-design-library/lib/style.css'

or

import 'mega-design-library/lib/style.css'

通用方法

import {} from 'mega-design-library/lib/tool'

commit 规范

feat: A new feature
fix: A bug fix
docs: Documentation only changes
style: Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc)
refactor: A code change that neither fixes a bug nor adds a feature
perf: A code change that improves performance
test: Adding missing or correcting existing tests
chore: Changes to the build process or auxiliary tools and libraries such as documentation generation

Package Sidebar

Install

npm i mega-design-library

Weekly Downloads

1

Version

1.1.3

License

MIT

Unpacked Size

1.18 MB

Total Files

20

Last publish

Collaborators

  • sunlianglife