You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using "with babel-plugin-import", but the follow import statement will cause importing all the components. Because there is no such @material-ui/core/withStyles path.
import { withStyles } from '@material-ui/core';
but import { withStyles } from '@material-ui/core/styles' will do the trick
The text was updated successfully, but these errors were encountered:
The docs recommended use Babel plugin to minimizing bundle size. https://material-ui.com/guides/minimizing-bundle-size/
I am using "with babel-plugin-import", but the follow import statement will cause importing all the components. Because there is no such @material-ui/core/withStyles path.
import { withStyles } from '@material-ui/core';
but import { withStyles } from '@material-ui/core/styles' will do the trick
The text was updated successfully, but these errors were encountered: