Skip to content

Commit

Permalink
Merge pull request #2215 from edouardmenayde/patch-1
Browse files Browse the repository at this point in the history
Add a section about production build ui bug in docs
  • Loading branch information
fzaninotto authored Sep 19, 2018
2 parents 99e9d4f + b08357c commit 1494316
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docs/FAQ.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,3 +98,11 @@ Some use cases:
- Show/hide some inputs if the current form values matches specific constraints

For all those cases, you can use the [aor-dependent-input](https://github.com/marmelab/aor-dependent-input) addon.

## UI in production build is empty or broke

You have probably specified a version requirement for `@material-ui/core` that is incompatible with the one required by `react-admin`. As a consequence, npm bundled two copies of `material-ui` in your application, and `material-ui` doesn't work in that case.

Please align your version requirement with the one of the `ra-ui-materialui` package.

See this [issue for more information](https://github.com/marmelab/react-admin/issues/1782).

0 comments on commit 1494316

Please sign in to comment.