Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/shivamka1/react-module-starter
Starter kit to create a react module.
https://github.com/shivamka1/react-module-starter
modules reactjs
Last synced: about 8 hours ago
JSON representation
Starter kit to create a react module.
- Host: GitHub
- URL: https://github.com/shivamka1/react-module-starter
- Owner: shivamka1
- License: mit
- Created: 2024-03-19T09:23:02.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-03-19T12:48:42.000Z (10 months ago)
- Last Synced: 2025-01-13T06:21:00.616Z (6 days ago)
- Topics: modules, reactjs
- Language: JavaScript
- Homepage:
- Size: 72.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# react-module-starter
Starter kit to create a react module.## Build module
This generates files under `dist/`
```
npm run build
npm link
```## Use module in React App
```
npx create-react-app myapp
cd myapp
npm link react-module-starter
```
```javascript
cat src/App.js
import MyComponent from 'react-module-starter';function App() {
return (
);
}export default App;
```