thlorenz / browserify-shim

📩 Makes CommonJS incompatible files browserifyable.
MIT License
934 stars 87 forks source link

Material-ui support #213

Closed gradosevic closed 8 years ago

gradosevic commented 8 years ago

Hi contributors,

I was wondering if there is a way to use material-ui with browserify-shim? I have an existing project based on browserify shims, and official Material UI docs require imports of multiple components from the specific locations like this:

import MuiThemeProvider from 'material-ui/styles/MuiThemeProvider';

I have no idea how to add this to package.json. Any suggestions?

Thanks, Goran

bendrucker commented 8 years ago

What are you asking for help with? Happy to try to point you in the right direction but would appreciate a specific question based on your attempt to implement this yourself.