You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+11-11Lines changed: 11 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -37,8 +37,8 @@ Run this to [increase the limit](http://stackoverflow.com/questions/16748737/gru
37
37
`echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p`
38
38
39
39
**On Windows:**
40
-
1.**Install [Python 2.7](https://www.python.org/downloads/)**. Browser-sync (and various other Node modules) rely on node-gyp, which requires Python on Windows.
41
-
2.**Install C++ Compiler**. [Visual Studio Express](https://www.visualstudio.com/en-US/products/visual-studio-express-vs) comes bundled with a free C++ compiler. Or, if you already have Visual Studio installed: Open Visual Studio and go to File -> New -> Project -> Visual C++ -> Install Visual C++ Tools for Windows Desktop. The C++ compiler is used to compile browser-sync (and perhaps other Node modules).
40
+
1.**Install [Python 2.7](https://www.python.org/downloads/)**. Browser-sync (and various other Node modules) rely on node-gyp, which requires Python on Windows.
41
+
2.**Install C++ Compiler**. [Visual Studio Express](https://www.visualstudio.com/en-US/products/visual-studio-express-vs) comes bundled with a free C++ compiler. Or, if you already have Visual Studio installed: Open Visual Studio and go to File -> New -> Project -> Visual C++ -> Install Visual C++ Tools for Windows Desktop. The C++ compiler is used to compile browser-sync (and perhaps other Node modules).
42
42
43
43
##FAQ
44
44
###Why does this exist?
@@ -107,21 +107,21 @@ No problem. Reference your CSS file in index.html, and add a step to the build p
107
107
108
108
### I just want an empty starter kit.
109
109
This starter kit includes an example app so you can see how everything hangs together on a real app. To create an empty project, you can delete the following:
110
-
1. Components in src/components
111
-
2. Styles in src/styles/styles.scss
112
-
3. Delete files in src/businessLogic
110
+
1. Components in src/components
111
+
2. Styles in src/styles/styles.scss
112
+
3. Delete files in src/businessLogic
113
113
114
114
Don't want to use Redux? See the next question for some steps on removing Redux.
115
115
116
116
### Do I have to use Redux?
117
117
Nope. Redux is useful for applications with more complex data flows. If your app is simple, Redux is overkill. Remove Redux like this:
118
118
119
-
1. Delete the following folders and their contents: actions, constants, reducers, containers, store
120
-
2. Uninstall Redux related packages: `npm uninstall redux react-redux redux-thunk`
121
-
3. Remove Redux related imports from /src/index.js: `import configureStore from './store/configureStore';`, `import App from './containers/App';` and `import { Provider } from 'react-redux';`
122
-
4. Remove this line from /src/index.js: `const store = configureStore();`
123
-
5. Delete components in /components and create a new empty component.
124
-
6. Replace the call to `<Provider><App/></Provider>` in /src/index.js with a call to the new top level component you just created in step 5.
119
+
1. Delete the following folders and their contents: actions, constants, reducers, containers, store
120
+
2. Uninstall Redux related packages: `npm uninstall redux react-redux redux-thunk`
121
+
3. Remove Redux related imports from /src/index.js: `import configureStore from './store/configureStore';`, `import App from './containers/App';` and `import { Provider } from 'react-redux';`
122
+
4. Remove this line from /src/index.js: `const store = configureStore();`
123
+
5. Delete components in /components and create a new empty component.
124
+
6. Replace the call to `<Provider><App/></Provider>` in /src/index.js with a call to the new top level component you just created in step 5.
125
125
126
126
### How do I deploy this?
127
127
`npm run build`. This will build the project for production. It does the following:
0 commit comments