react-to-npm11

0.1.0 • Public • Published

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 install

Start development server

yarn start
or 
npm start

Then you can run this project in your browser http://localhost:3000

Build library

yarn run build
or 
npm run build

Publish library to NPM

npm publish

Example Usage

npm install react-to-npm
import { MyButton } from "react-to-npm";

<MyButton
    type="default"
    text="this is a examle component"
    onClick={()=>{console.log("clicked")}}
/>

License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i react-to-npm11

Weekly Downloads

0

Version

0.1.0

License

none

Unpacked Size

5.57 kB

Total Files

6

Last publish

Collaborators

  • xhm3512