只是简单地运行"material-components-web“,我不能让输入域看起来像它应该的样子。JS interaction运行得很好。主题看起来不错。the bottom of the page --></body>app.scss:
@import "material-components-web/material
不幸的是,当从npm包导入mdc时,如下所示:我得到以下错误compiler error: File to import: @material/animation/mdc-animation not found in
file: {}/node_modules/material-components-web</e
exclude: /node_modules/ ]};import * as mdc from 'material-components-web语法可能类似于@import "material-components-web/material-components-web";,但我不确定我应该把它放在哪里,是放在index.js文件上,还是应该创建一个
in /home/r2d2/Desktop/Practice/Insta/node_modules/material-components-web/material-components-web.scss/node_modules/material-components-web/material-components-web";
@include mdc-button-ink-color