Skip to content

Commit fea5c86

Browse files
committed
Merge branch 'universal-redux' into fullstack
2 parents 5fe0ab3 + 6574e81 commit fea5c86

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
@@ -79,6 +79,13 @@ The source code should be placed in `src`; public/static files should be placed
7979

8080
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`).
8181

82+
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.
83+
```js
84+
import { Button, HomePage } from 'components' // src/components
85+
import App from 'components/App' // src/components/App
86+
import routes from 'routes' // src/routes
87+
```
88+
8289
### Components
8390

8491
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).
@@ -247,8 +254,7 @@ When issuing, use the following patterns in the title for better understanding:
247254
```bash
248255
[v0.3.1-redux] Something wrong is not right # the v0.3.1 release of the redux branch
249256
[redux] Something wrong is not right # the actual code of the redux branch
250-
[master] Something right is not wrong # the actual code of the master branch
251-
Something wrong is right # general or not directly related to any branch
257+
Something wrong is right # general, related to master or not directly related to any branch
252258
```
253259

254260
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)