Uncaught Error: Module build failed: Error: ENOENT: no such file or directory, open '/Users/leongaban/projects/go/src/github.com/pizzahutdigital/mythor/node_modules/material-ui/styles/getMuiTheme.js'
Been using the theme, style and components from http://www.material-ui.com/#/ to build a app at the moment.
However I need the Grid component which doesn't exist in 0.9
but exists here in the 1.0 beta
https://material-ui-next.com/layout/grid/
getMuiTheme
has been replaced by createMuiTheme
in 'material-ui/styles'
This worked for me : import { MuiThemeProvider, createMuiTheme } from 'material-ui/styles';
See Documentation -> https://github.com/callemall/material-ui/blob/v1-beta/docs/src/pages/customization/themes.md
(Docs on master
and v1-beta
differ, be sure to check out the v1 branch docs)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With