1.2.0 • Published 7 years ago

react-cli-module-structure v1.2.0

Weekly downloads
1
License
ISC
Repository
github
Last release
7 years ago

React Module Structure

Wireframe for your React Apps, that were started with create-react-app.

Creates a subfolder in the src-directory with the name of the module and multiple sub-folders.

New React Project

create-react-project ProjectName

Initialises a new project with create-react-app, but with other configs to work with.

New React Project Module

create-react-module ModuleName

Create a new module subdir in an create-react-app main directory with some template files. Can be connected to the project by importing the config file to the appConfig.js file with:

import * as ModuleName from './ModuleName/Config';

and be added to the INSTALLED_APPS const:

export const INSTALLED_APPS = [
    ModuleName,
    OtherModuleName
];
1.2.0

7 years ago

1.1.1

7 years ago

1.1.0

7 years ago

1.0.1

8 years ago

1.0.0

8 years ago