styleguide-2

1.0.30 • Public • Published

About

Styleguide-2 是一个基础UI组件库,基于custom elements实现。 参考资料:

运行

yarn
yarn start

Create a component

项目提供了generate命令生成组件:

yarn generate your-component-name

执行上面的命令之后,会在src/components目录下自动生成对应的组件,并在examples目录下生成相应的示例。

由于需要将生成的example添加到HtmlWebpackPlugin配置中,所以需要重新启动项目

Deploy

对项目做了更改之后,别忘了打个包:

yarn build

最后的最后,更改一下版本号

Enjoy it

Readme

Keywords

none

Package Sidebar

Install

npm i styleguide-2

Weekly Downloads

1

Version

1.0.30

License

ISC

Unpacked Size

1.15 MB

Total Files

69

Last publish

Collaborators

  • douxiao1988