2017-07-16 23 views
2

我想在我的流星應用程序中使用material design components for web。不幸的是,從故宮包導入MDC時這樣的:如何在MeteorJS中使用材質組件Web sass

@import "{}/node_modules/material-components-web/material-components-web"; 

我得到以下錯誤:

While processing files with fourseven:scss (for target web.browser): 
/client/stylesheets/Application.scss: Scss compiler error: File to import: @material/animation/mdc-animation not found in 
file: {}/node_modules/material-components-web/material-components-web.scss 

我想這是由於MDC的結構。 material-components-web.scss文件導入位於node_modules/@material中的所有單個組件,不在node_modules/material-components-web之內。

我正在使用fourseven:scss包在我的流星應用程序中編譯sass。

如何解決/解決此問題?

+1

我已經要求關於github問題跟蹤器的示例:https://github.com/material-components/material-components-web/issues/1040 – Falieson

回答

相關問題