smart-react

基于react的组件包

Usage no npm install needed!

<script type="module">
  import smartReact from 'https://cdn.skypack.dev/smart-react';
</script>

README

1.项目说明

本项是基于智课网重构的一个分支,组件发布

2.示例项目

1.git clone git@code.smartstudy.com:frontend/smart-react-component.git
2.npm i
3.gulp
4.npm run start
6.浏览器访问localhost:3000

3.组件开发

1.components中编写组件
2.package.json
  修改版本号version
3.npm publish上传到npm上

4.文件目录

1.build目录是components转译生成的
2.lib目录是当前项目的发布文件