在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):DimiMikadze/create-react-library开源软件地址(OpenSource Url):https://github.com/DimiMikadze/create-react-library开源编程语言(OpenSource Language):JavaScript 97.1%开源软件介绍(OpenSource Introduction):Create React LibraryCreate React NPM Library with no build configuration, based on Facebook's Create React App. We are constantly updating the repository with the updates of create-react-app, so we have all new features and bug fixes of it. Quick Overviewnpx @udilia/create-react-library my-lib
cd my-lib
npm start (npx comes with npm 5.2+ and higher, see instructions for older npm versions) Then open http://localhost:3000 to see demo library running in the browser. Creating a LibraryYou’ll need to have Node 8.16.0 or Node 10.16.0 or later version on your local development machine. To create a new library, you may choose one of the following methods: npxnpx @udilia/create-react-library my-lib (npx comes with npm 5.2+ and higher, see instructions for older npm versions) npmnpm init @udilia/react-library my-lib
Yarnyarn create @udilia/react-library my-lib
It will create a directory called
All library files are located inside src/lib folder. Inside src/demo folder, you can test your library while developing. Once the installation is done, you can open your project folder:
Inside the newly created project, you can run some built-in commands:
|
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论