https://github.com/pinussilvestrus/generator-mantra-react
A Yeoman for React Modules based on our Mantra philosophy (https://kadirahq.github.io/mantra/)
https://github.com/pinussilvestrus/generator-mantra-react
mantra-philosophy schulcloud yeoman
Last synced: 8 months ago
JSON representation
A Yeoman for React Modules based on our Mantra philosophy (https://kadirahq.github.io/mantra/)
- Host: GitHub
- URL: https://github.com/pinussilvestrus/generator-mantra-react
- Owner: pinussilvestrus
- License: gpl-3.0
- Created: 2016-11-09T09:48:06.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2018-02-22T16:52:04.000Z (over 8 years ago)
- Last Synced: 2025-09-24T02:55:24.743Z (9 months ago)
- Topics: mantra-philosophy, schulcloud, yeoman
- Language: JavaScript
- Size: 23.4 KB
- Stars: 5
- Watchers: 7
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# generator-mantra-react
A Yeoman Generator for React Modules based on our Mantra philosophy (https://kadirahq.github.io/mantra/)
[](https://www.npmjs.com/package/generator-mantra-react)
## Getting Started
```bash
npm install -g yo
npm install -g generator-mantra-react
yo mantra-react
```
INFO: The names of the module and the subsection should be different!
After the module was generated, you have to register it in your client's index.js
```js
/** src/modules/index.js**/
import Core from './core';
import Static from './static';
import Login from './login';
import Backend from './backend';
import Dashboard from './dashboard';
/** other modules ....*/
import from './';
export default {
Core,
Backend,
Dashboard,
Settings,
Login,
Content,
Lessons,
,
Static
};
```
Have fun!
## License
GPL-3.0