https://github.com/arqex/create-react-widget
A quick npm create command to scaffold React microfrontends and widgets
https://github.com/arqex/create-react-widget
Last synced: 9 months ago
JSON representation
A quick npm create command to scaffold React microfrontends and widgets
- Host: GitHub
- URL: https://github.com/arqex/create-react-widget
- Owner: arqex
- License: mit
- Created: 2023-10-15T16:44:47.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-10-21T20:23:40.000Z (about 2 years ago)
- Last Synced: 2025-01-29T20:19:14.496Z (11 months ago)
- Language: TypeScript
- Size: 188 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
create-react-widget
-------------------
A small utility to bootstrap micro-frontend projects in React and Typescript. If you are looking for a way of embedding your React application in another website as a widget, this is the tool for you. Give it some love! 🌟
## Usage
To create a basic widget project, run the following command:
```bash
npm create react-widget my-widget
```
Then install the dependencies with your favourite package manager. E.g with `npm`:
```bash
cd my-widget
npm install
```
Finally, you can start developing:
```bash
npm run dev
```
When you are happy with you widget, you can build it with:
```bash
npm run build
#or `npm run build:serve` to check how the production version work
```
## License
[MIT](LICENSE) © Javier Marquez