Keystone with Material Design Bootstrap Incompatible units: 'rem' and 'px'

匿名 (未验证) 提交于 2019-12-03 01:38:01

问题:

Did anyone managed to add the SCSS from Material Design Bootstrap in the default template of Keystone.js ?

I am new to node.js and front-end development so I am not sure what I am doing but, I bascially added the MDB folder in my public/styles. After that I've modified the sites.scss, I commented out @import "site/variables"; and @import "site/layout"; and I added @import "mdb"; but this does not really seemed to work. I get the error:

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) 

Anyone any idea?

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