New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

generator-react-webpack-base

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

generator-react-webpack-base

A base template for a fullstack react webpack application

latest
Source
npmnpm
Version
1.2.1
Version published
Maintainers
1
Created
Source

generator-react-webpack-base NPM version Build Status Dependency Status

A base template for a fullstack react webpack application

About

A base template for an isomorphic react application using webpack.

  • Webpack build for both client and server output
  • ES2015 using babel
  • SASS styling

Installation

First, install Yeoman and generator-react-webpack-base using npm (we assume you have pre-installed node.js).

npm install -g yo
npm install -g generator-react-webpack-base

Then generate your new project:

yo react-webpack-base

You will be prompted if you want to use redux or not. If you choose not to use redux and want to add it later you can run

yo react-webpack-base:redux

Add a Component

To add a new component run

yo react-webpack-base:component

This will create a new component in the components directory

Create a container

To create a container for an existing component run

yo react-webpack-base:container

You will be prompted to select the component to wrap and if this is a redux container.

Create a redux action

To create a new redux action use

yo react-webpack-base:redux-action

You will be prompted for the action name and the reducer to use. If the reducer does not exist it will be created (you will still need to add it to combine reducers).

License

Apache-2.0 © Elvey

Keywords

react

FAQs

Package last updated on 06 Jan 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts