duplicant

0.11.0 • Public • Published

Duplicant

Duplicant is a bare-bones generator for creating React-powered SPAs hosted by simple Express servers. These generated projects include the conveniences of contemporary JavaScript, code splitting, streamed SSR, and HMR (for both the client and server).

Duplicant

In JavaScript, no one can hear this scream...

Installation

npm install -g duplicant

Getting started

duplicant my-project
cd my-project
npm start

You are now ready to start building with:

  • react
  • react-dom
  • react-router-dom
  • styled-components

Some key things to review before you get too far down the rabbit hole:

  • Review the available scripts in the package.json file
  • common/chunks.js and common/client-chunks.js will show you how to create code-split components
  • You can split on any component, not just pages!
  • common/routes.js will show you how these split components are used

Time to get shit done!!

Readme

Keywords

none

Package Sidebar

Install

npm i duplicant

Weekly Downloads

2

Version

0.11.0

License

ISC

Unpacked Size

18.3 kB

Total Files

38

Last publish

Collaborators

  • benjaminkimball