Skip to content

Commit b987301

Browse files
committed
updates readme with a demo link.
1 parent 44a7602 commit b987301

File tree

9 files changed

+22
-39
lines changed

9 files changed

+22
-39
lines changed

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ A **bold** way to begin your next great universal React application.
1010

1111
## Demo
1212

13+
Check it out in action here: https://starter.boldr.io/
14+
1315
## Usage
1416

1517
### Development
@@ -40,11 +42,12 @@ If you don't feel like using DLLs, set WEBPACK_DLLS to 0 in the `package.json`
4042

4143

4244
## Alternatives
43-
- [`React Webpack Node`](https://github.com/choonkending/react-webpack-node)
45+
- [`ReactGo`]https://github.com/reactGo/reactGo)
4446
Your One-Stop solution for a full-stack app with ES6/ES2015 React.js featuring universal Redux, React Router, React Router Redux Hot reloading, CSS modules, Express 4.x, and multiple ORMs.
4547

4648

47-
## Contributing
4849

50+
## Contributing
51+
Pull requests are welcome and encouraged. If I made a mistake, raise an issue and/or fix it and submit a PR. Have a question? I'll do what I can to answer it for you.
4952

5053
## Dependencies

package.json

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,8 @@
100100
"devDependencies": {
101101
"autoprefixer": "^6.4.1",
102102
"babel-core": "^6.14.0",
103+
"babel-polyfill": "^6.13.0",
104+
"babel-register": "^6.14.0",
103105
"babel-loader": "^6.2.5",
104106
"babel-plugin-lodash": "^3.2.8",
105107
"babel-plugin-module-resolver": "^2.2.0",
@@ -144,18 +146,12 @@
144146
"webpack-node-externals": "^1.4.3"
145147
},
146148
"dependencies": {
147-
"axios": "^0.14.0",
148-
"babel-polyfill": "^6.13.0",
149-
"babel-register": "^6.14.0",
150149
"better-npm-run": "0.0.11",
151150
"classnames": "^2.2.5",
152151
"compression": "^1.6.2",
153152
"debug": "^2.2.0",
154-
"es6-promise": "^3.3.1",
155153
"express": "^4.14.0",
156-
"isomorphic-fetch": "^2.2.1",
157154
"lodash": "^4.15.0",
158-
"normalize.css": "^4.2.0",
159155
"npm-run-all": "^3.1.0",
160156
"react": "^15.3.1",
161157
"react-dom": "^15.3.1",

src/components/Layout/Grid.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import React, { PureComponent } from 'react';
22
import classNames from 'classnames';
3+
import '../../theme/grid.scss';
34

45
class Grid extends PureComponent {
56
render() {

src/scenes/Home/Home.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ import { connect } from 'react-redux';
55

66
import { Heading, Card, Row, Col, Grid, Logo, TextBlock } from 'components';
77
import { fetchPosts } from './actions';
8-
import styles from './Home.scss';
98

109
const mapStateToProps = (state) => {
1110
return {
@@ -26,7 +25,7 @@ class Home extends Component {
2625
return (
2726
<div>
2827
<Helmet title="Home" />
29-
<div className={ styles.wrapper }>
28+
<div className="wrapper">
3029
<Grid>
3130
<Row>
3231
<Col xs={ 3 } md={ 2 }>

src/theme/grid.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// ////////////////////////////////////////////////////// //
22
// BEM Sass port of Flexbox Grid - http://flexboxgrid.com //
33
// ////////////////////////////////////////////////////// //
4-
4+
@import 'variables';
55
// Mixins
66
@mixin breakpoint($breakpoint, $breakpoint-size) {
77
// The grid is mobile first so xs is the default, hence no breakpoint

src/theme/main.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
@import 'variables';
22
@import 'grid';
3-
3+
@import '../scenes/Home/Home.scss';
44
body {
55
background: linear-gradient(to left, #517fa4 , #243949);
66
font-family: $font-stack;

tools/defaults.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,6 @@ const path = require('path');
22

33
const ABS_ROOT = path.resolve(process.cwd());
44

5-
const HMR_PORT = 3001;
6-
const SSR_PORT = 3000;
7-
const HOST = 'localhost';
8-
95
module.exports = {
106
HMR_PORT: 3001,
117
SSR_PORT: 3000,

tools/webpack/dll.config.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,6 @@ module.exports = {
6767
'react-helmet',
6868
'redux-thunk',
6969
'redial',
70-
'isomorphic-fetch',
7170
'classnames',
7271
'superagent',
7372
'lodash',

tools/webpack/webpack.config.client.js

Lines changed: 11 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ module.exports = function webpackConfig() {
5454
'react-helmet',
5555
'redux-thunk',
5656
'redial',
57-
'isomorphic-fetch',
5857
'superagent',
5958
'classnames',
6059
'lodash',
@@ -85,36 +84,27 @@ module.exports = function webpackConfig() {
8584
{ test: /\.eot(\?v=\d+\.\d+\.\d+)?$/, loader: 'file' },
8685
{ test: /\.svg(\?v=\d+\.\d+\.\d+)?$/, loader: 'url?limit=10000&mimetype=image/svg+xml' },
8786
{ test: webpackIsomorphicToolsPlugin.regular_expression('images'), loader: 'url-loader?limit=10240' },
88-
{
89-
test: /\.css$/,
90-
include: /node_modules/,
91-
loader: isDev ? 'style!css' :
92-
ExtractTextPlugin.extract({
93-
fallbackLoader: 'style',
94-
loader: 'css'
95-
})
96-
},
9787
createSourceLoader({
98-
happy: { id: 'css' },
99-
test: /\.css$/,
88+
happy: { id: 'sass' },
89+
test: /\.scss$/,
10090
exclude: /node_modules/,
10191
loader: isDev ?
102-
'style!css?localIdentName=[name]__[local].[hash:base64:5]&modules&sourceMap&-minimize&importLoaders=1!postcss' :
92+
'style!css?localIdentName=[name]__[local].[hash:base64:5]&sourceMap&-minimize&importLoaders=2!postcss!sass?outputStyle=expanded&sourceMap' :
10393
ExtractTextPlugin.extract({
10494
fallbackLoader: 'style',
105-
loader: 'css?modules&sourceMap&importLoaders=1!postcss'
106-
}),
95+
loader: 'css?sourceMap&importLoaders=2!postcss!sass?outputStyle=expanded&sourceMap&sourceMapContents'
96+
})
10797
}),
10898
createSourceLoader({
109-
happy: { id: 'sass' },
110-
test: /\.scss$/,
99+
happy: { id: 'css' },
100+
test: /\.css$/,
111101
exclude: /node_modules/,
112102
loader: isDev ?
113-
'style!css?localIdentName=[name]__[local].[hash:base64:5]&sourceMap&-minimize&importLoaders=2!postcss!sass?outputStyle=expanded&sourceMap' :
103+
'style!css?localIdentName=[name]__[local].[hash:base64:5]&modules&sourceMap&-minimize&importLoaders=1!postcss' :
114104
ExtractTextPlugin.extract({
115105
fallbackLoader: 'style',
116-
loader: 'css?modules&sourceMap&importLoaders=2!postcss!sass?outputStyle=expanded&sourceMap&sourceMapContents'
117-
})
106+
loader: 'css?modules&sourceMap&importLoaders=1!postcss'
107+
}),
118108
}),
119109
{
120110
test: /\.module.scss$/,
@@ -193,8 +183,7 @@ module.exports = function webpackConfig() {
193183
// Extracts all stylesheets into a main file. During development styles are dumped
194184
// into the head and/or added dynamically.
195185
ifProd(new ExtractTextPlugin({
196-
filename: '[name].[chunkhash].css',
197-
allChunks: true
186+
filename: '[name].[chunkhash].css'
198187
})),
199188
// Becareful adding too much for Uglify to do because it has a talent for breaking bundles.
200189
ifProd(new webpack.optimize.UglifyJsPlugin({

0 commit comments

Comments
 (0)