Skip to content

Commit 6574e81

Browse files
committed
Merge branch 'redux' into universal-redux
2 parents 64af216 + c27ab1a commit 6574e81

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

README.md

+8-2
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,13 @@ The source code should be placed in `src`; public/static files should be placed
7575

7676
If you want to start with a clean and minimal source code without the predefined components and tests, just use the `src-clean` instead by renaming it to `src` (and removing or renaming the older one to something like `src-example`).
7777

78+
Because of [webpack's config](https://github.com/diegohaz/arc/blob/5c752968c52d013f7218b514021eae08f6ddf07c/webpack.config.js#L19-L21), we can import our source modules without relative paths.
79+
```js
80+
import { Button, HomePage } from 'components' // src/components
81+
import App from 'components/App' // src/components/App
82+
import routes from 'routes' // src/routes
83+
```
84+
7885
### Components
7986

8087
This project leverages the [Atomic Design](http://bradfrost.com/blog/post/atomic-web-design/) methodology to create a scalable and easy to maintain component folder structure. See [why](https://github.com/diegohaz/arc#why).
@@ -235,8 +242,7 @@ When issuing, use the following patterns in the title for better understanding:
235242
```bash
236243
[v0.3.1-redux] Something wrong is not right # the v0.3.1 release of the redux branch
237244
[redux] Something wrong is not right # the actual code of the redux branch
238-
[master] Something right is not wrong # the actual code of the master branch
239-
Something wrong is right # general or not directly related to any branch
245+
Something wrong is right # general, related to master or not directly related to any branch
240246
```
241247

242248
PRs are very appreciated. For bugs/features consider creating an issue before sending a PR. But there're other things you can contribute directly:

0 commit comments

Comments
 (0)