与Material Design Bootstrap不兼容的单位:'rem'和'px'
有没有人设法从Material Design Bootstrap中添加了Keystone.js默认模板中的SCSS?
我是新来的node.js和前端开发,所以我不知道我在做什么,但是bascially添加MDB
文件夹在我的public/styles
。 之后,我修改了sites.scss
,我注释了@import "site/variables";
和@import "site/layout";
我添加了@import "mdb";
但是这似乎并不奏效。 我得到的错误:
in /my_path/public/styles/mdb/free/data/_variables-b4.scss:320:34 Error thrown for request: /styles/site.css Error: Incompatible units: 'rem' and 'px'. at options.error (/my_path/node_modules/node-sass/lib/index.js:291:26)
任何人的想法?