All Projects → markmur → sails-react-webpack

markmur / sails-react-webpack

Licence: MIT license
A Sails, React & Webpack scaffolding CLI

Programming Languages

javascript
184084 projects - #8 most used programming language
HTML
75241 projects
SCSS
7915 projects

Projects that are alternatives of or similar to sails-react-webpack

sails-token-auth-setup
Token based authentication installation guide
Stars: ✭ 24 (-53.85%)
Mutual labels:  sails
tcome
NodeJS & Angular4 Blog
Stars: ✭ 56 (+7.69%)
Mutual labels:  sails
lingtypology
R package for linguistic cartography and typological databases search
Stars: ✭ 47 (-9.62%)
Mutual labels:  sails
sails-hook-flash
Flash message for Sails applications
Stars: ✭ 14 (-73.08%)
Mutual labels:  sails
angular2-sails
An angular module for using the sails socket.io api in angular2 (@angular)
Stars: ✭ 37 (-28.85%)
Mutual labels:  sails
sails-hook-multitenant
A multitenant Sails.js 1.X hook for Waterline ORM.
Stars: ✭ 15 (-71.15%)
Mutual labels:  sails

Sails + React + Webpack CLI

A CLI for scaffolding a Sails + React boilerplate.

Includes


Install

Install the module globally:

$ npm install -g sails-react-webpack

Generating a New Project

To generate a new project, run:

sails-react-webpack [project-name]

cd [project-name]

npm install

// or

yarn

Run (development)

npm start will run all processes in the Procfile. It will start both Sails AND the Webpack Dev Server simultaneously.

npm start

To view your app, go to http://localhost:3000 in your browser.


Run (Production)

Webpack builds the bundle files on postinstall and sails is lifted the same way it's always lifted in production:

sails lift --prod

You can run this script manually with npm run dist.


Generate Components

Use react-component-gen to generate new components on the fly.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].