angular-materialize icon indicating copy to clipboard operation
angular-materialize copied to clipboard

load with browserify?

Open anthonyettinger opened this issue 10 years ago • 3 comments

Is there an example of loading this with browserify?

anthonyettinger avatar Jan 18 '16 20:01 anthonyettinger

+1 can't seem to get it to work with browserify, starting to go a bit insane

sis avatar Jan 18 '16 21:01 sis

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

webbiesdk avatar Jan 19 '16 10:01 webbiesdk

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

JCron245 avatar Nov 01 '16 18:11 JCron245