Open anthonyettinger opened 8 years ago
+1 can't seem to get it to work with browserify, starting to go a bit insane
The big problem of getting this library to work with browserify, is getting Materialize to work with browserify.
I managed to do that for one of my own projects (where i use React, so I didn't have to include this library).
I don't have it on GitHub, so here is a Dropbox link if you are interrested: https://www.dropbox.com/s/frpntiptu4g6ur2/materialize.js?dl=0, just use require("[path to materialize.js"]);
After that is included, you should be able to include this library as well. (But remember the dependencies, both jQuery and AngularJS)
But untill there is official browserify support from Materialize, there is not going to be any official browserify support from here. That means we are waiting for: Dogfalo/materialize#923
Maybe this has been resolved but I have no problem using Angular-Materialize with browserify. I made a base project for building out webpages with angular/materializecss/angular-materialize, you can see how I have it setup at https://github.com/JCron245/angular_materialize_base
Is there an example of loading this with browserify?