meteor error on adding materialize package

ぃ、小莉子 提交于 2019-12-04 03:26:34

This seems to be a new problem with the latest version of the package. Do this to fix the problem:

meteor remove materialize:materialize
meteor add materialize:materialize@=0.97.0

And see here for the GitHub issue: https://github.com/Dogfalo/materialize/issues/2043

Add the latest version of materialize via CDN in your app.js file

<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.97.2/css/materialize.min.css">

<script src="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.97.2/js/materialize.min.js"></script>

I am following this method ( atleast till the package is fixed ),& should work just fine for you needs.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!