Skip to content

Commit

Permalink
Added to README paragraph about configurating IDE for working with al…
Browse files Browse the repository at this point in the history
…iases
  • Loading branch information
bond95 committed Nov 21, 2018
1 parent 2fb526d commit 21e41f5
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,33 @@ For Chrome: [https://chrome.google.com/webstore/detail/redux-devtools/lmhkpmbekc
For Firefox: [https://addons.mozilla.org/en-us/firefox/addon/remotedev/](https://addons.mozilla.org/en-us/firefox/addon/remotedev/)


### Aliases configuration in IDE

You need to configure your IDE to properly work with aliases.

#### VSCode

Find or create `jsconfig.json` in root project folder and add there next lines:

```
{
"compilerOptions": {
...
"allowSyntheticDefaultImports": false,
"baseUrl": "./",
"paths": {
"ovirtapi": ["src/ovirtapi/index.js"],
"app-intl": ["src/intl/index.js"],
"app-actions": ["src/actions/index.js"],
"app-reducers/*": ["src/reducers/*"],
"app-constants": ["src/constants/index.js"],
"app-helpers": ["src/helpers.js"]
}
},
...
}
```

## Technical Details
- based on React, Patternfly, Redux, Redux-Saga
- based on ejected [create-react-app](https://facebook.github.io/react/blog/2016/07/22/create-apps-with-no-configuration.html)
Expand Down

0 comments on commit 21e41f5

Please sign in to comment.