How to use materializecss on meteor

Yehuda Clinton
1 min readMar 2, 2020

--

You might be wondering whats the big deal. meteor add materialize:materialize

Except that is the old version which is incompatible with many other modules such as jquery. Unless they update the meteor package you are stuck with using npm.

So here is what i did

meteor npm install materialize-css@next

meteor add fourseven:scss

and then you need to @import “{}/node_modules/materialize-css/sass/materialize.scss”;

The way i did that was by placing a file on the client side with the title main.scss withat that one line in it.

can someone help with this security vulnerability

Postscript

i have concluded that people should seek an alternative such as muicss.com or bulma.io.

--

--