Current Behavior 😯
I get
Module not found: Can't resolve '@material-ui/core/ThemeProvider'
Expected Behavior 🤔
I don't expect any errors.
Steps to Reproduce 🕹
Since this is a bug related to the project setup then I can't make a codesandbox for it
Steps:
- npx create-react-app my_app --template typescript
- install material core
5.0.0-alpha.13
npm add -D babel-plugin-transform-imports react-app-rewired customize-cra
- Update
package.json and create .babelrc.js, config-overrides.js files as outlined in the docs.
- create source content as in this example.
Context 🔦
Your Environment 🌎
| Tech |
Version |
| Material-UI |
v5.0.0-alpha.13 |
| React |
v16.14.0 |
| Browser |
|
| TypeScript |
v4.0.3 |
| etc. |
|
Current Behavior 😯
I get
Expected Behavior 🤔
I don't expect any errors.
Steps to Reproduce 🕹
Since this is a bug related to the project setup then I can't make a codesandbox for it
Steps:
5.0.0-alpha.13npm add -D babel-plugin-transform-imports react-app-rewired customize-crapackage.jsonand create.babelrc.js,config-overrides.jsfiles as outlined in the docs.Context 🔦
Your Environment 🌎