-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Vvv
committed
Jul 25, 2016
1 parent
718b2a3
commit c4b6474
Showing
5 changed files
with
57 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,23 @@ | ||
# Sails-React-Webpack Starter Kit | ||
|
||
Apart from [this Sails-React starter kit](https://github.com/mixxen/sails-react-example) this one fully uses [Webpack](http://webpack.github.io) as a separate grunt build task. Also I have stepped out from using [Bower](https://bower.io) as front-end package manager and left all to `npm` so if you need any additional package that you want to `import` to your React app, use `npm`. | ||
Apart from [this Sails-React starter kit](https://github.com/mixxen/sails-react-example) this one fully uses [Webpack](http://webpack.github.io) as a separate grunt build task. Also I have stepped out from using [Bower](https://bower.io) as front-end package manager and left all to `npm` so if you need any additional package that you want to `import` to your **React** app, use `npm`. | ||
|
||
Upon navigating to `/` an `index.jade` view will be shown that starts React application. All React application code is located at `assets/app`. | ||
Upon navigating to `/` an `index.jade` view will be shown that starts **React** application. All **React** application code is located at `assets/app`. | ||
|
||
In order to modify grunt task that bundles React code look at `tasks/config/webpack.js`. | ||
In order to modify grunt task that bundles **React** code look at `tasks/config/webpack.js`. | ||
|
||
|
||
|
||
|
||
### Installation | ||
|
||
- Clone this repo. | ||
- run `npm install` | ||
- run `npm run dev` to start sails server. | ||
- run `npm install` to scaffold up dependencies | ||
- run `npm run dev` to start Sails server in `development` mode | ||
- run `npm run prod` to start Sails server in `production` mode | ||
|
||
|
||
|
||
|
||
### Licence | ||
|
||
MIT | ||
MIT |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters