Skip to content

pinussilvestrus/generator-mantra-react

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

generator-mantra-react

A Yeoman Generator for React Modules based on our Mantra philosophy (https://kadirahq.github.io/mantra/)

Downloads

Getting Started

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

/** 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 <YourModule> from './<yourModule>';

export default {
	Core,
	Backend,
	Dashboard,
	Settings,
	Login,
	Content,
	Lessons,
  <YourModule>,
    Static
};

Have fun!

License

GPL-3.0

Releases

No releases published

Packages

No packages published