Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including @launchpadlab/lp-subsection-generator with all npm packages installed. Try it out:

require("react-router/package.json"); // react-router is a peer dependency. require("react/package.json"); // react is a peer dependency. var lpSubsectionGenerator = require("@launchpadlab/lp-subsection-generator")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

@launchpadlab/lp-subsection-generator v6.0.0

lp-subsection-generator

Generate subsections for react-redux apps. Each subsection will contain components, forms, views and routes (see template folder for details).

Remember to include your generated subsection in your top-level reducer and routes files!

Usage

You can run the generate-subsection command using yarn:

> yarn generate-subsection {section-name} {path}

The path option should be the path to the directory where you'd like the subsection to be generated (optional, default=./src/js/main/).

Contribution

These docs are woefully inadequate and should be expanded at some point. PRs welcome!

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free