0.1.1 • Published 5 years ago
testzonglicoms v0.1.1
react-to-npm
This project is based on create-react-app, in this project you can create your own UI library, and publish it to NPM.
Getting Started
Install dependencies
yarn install
or
npm installStart development server
yarn start
or
npm startThen you can run this project in your browser http://localhost:3000
Build library
yarn run build
or
npm run buildPublish library to NPM
npm publishExample Usage
npm install react-to-npmimport { MyButton } from "react-to-npm";
<MyButton
type="default"
text="this is a examle component"
onClick={()=>{console.log("clicked")}}
/>License
MIT
0.1.1
5 years ago