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
+9-8Lines changed: 9 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
# Generator-React-Webpack 2.0 (alpha)
1
+
# ReactWebpack Template 2.0 (alpha)
2
2
> A flexible, easy to use boilerplate to quickly get started with Webpack, Babel and React.
3
3
4
4
[](https://travis-ci.org/weblogixx/react-webpack-template)
@@ -9,11 +9,12 @@ You may use this template either directly (by cloning this git repository) or by
9
9
## Features
10
10
The following features are currently included out of the box:
11
11
12
-
-[x] Webpack 2 setup to get you started (including support for LESS/SASS/SCSS/Stylus and PostCSS)
12
+
-[x] Webpack 2 setup to get you started (including basic support for LESS/SASS/SCSS/Stylus and PostCSS)
13
+
-[ ] CSS Modules support
13
14
-[x] Babel 6 to transpile ES2015 and JSX
14
-
-[x] React 15.0
15
-
-[x] Mocha, Chai and Enzyme for easy unit testing (without karma)
16
-
-[x]Istanbul and Isparta for collecting coverage information
15
+
-[x]Latest stable React Version (v15.0)
16
+
-[x]Karma, Mocha, Chai and Enzyme for easier unit testing
17
+
-[x] Isparta to collect coverage information
17
18
-[x] Preconfigured .editorconfig file
18
19
-[x] Preconfigured eslint configuration, based on airbnb
19
20
@@ -23,13 +24,13 @@ The following features are currently included out of the box:
23
24
FOLLOWS
24
25
25
26
- I want to use less/sass/whatever, but get an error when requiring the file:
26
-
We currently do not ship the needed modules. This is done on purpose, as we dont want you to install too much dependencies. If you do not use a css precompiler, chance is you wont even notice it. If you need one, just install the required webpack loader (e.g. for less via ```npm install --save-dev less-loader```).
27
+
We currently do not ship the needed webpack modules. This is done on purpose, as we dont want you to install too much dependencies without using them. If you do not use a css precompiler, chance is you wont even notice it. If you need one, just install the required webpack loader (e.g. for less via ```npm install --save-dev less-loader```).
27
28
28
29
- I want to change/add/remove one of the given configs for webpack:
29
30
The webpack configuration is located in ```conf/webpack```. All changes in Base.js will get delegated to all webpack configurations, so you will just have to update this file for adding loaders etc. You may add your own configurations at any time. Just make sure to extend ```WebpackBaseConfig``` to make it work. When ready, just update ```conf/webpack/index.js``` with your wanted options to make them work.
30
31
31
-
- Where do I find configuration options for *insert tool of choise here*:
32
-
Every configuration options are located either directly in the project root (as for .babelrc, base webpack...) or as a folder in the conf directory.
32
+
- Where do I find configuration options for *insert tool of choice here*:
33
+
Configuration options are located either directly in the project root (as for .babelrc, webpack.config.js, karma.conf.js...) or as a folder in the conf/ directory.
33
34
34
35
## Using it
35
36
The template uses webpack as build tool to serve files and run tests. The following commands are available:
0 commit comments