Css 离子2引导式sass
我本想将引导的一些混合集成到ionic 2中,但它产生了一个我无法轻松修复的错误Css 离子2引导式sass,css,twitter-bootstrap,angular,sass,Css,Twitter Bootstrap,Angular,Sass,我本想将引导的一些混合集成到ionic 2中,但它产生了一个我无法轻松修复的错误 node_modules\bootstrap-sass\assets\stylesheets\bootstrap\_variables.scss Error: Incompatible units: 'px' and 'rem'. on line 214 of node_modules/bootstrap-sass/assets/stylesheets/bootstrap/_variables.sc
node_modules\bootstrap-sass\assets\stylesheets\bootstrap\_variables.scss
Error: Incompatible units: 'px' and 'rem'.
on line 214 of node_modules/bootstrap-sass/assets/stylesheets/bootstrap/_variables.scss
>> $input-height-base: ($line-height-computed + ($padding-base-verti
----------------------------------^
从我的app.core.scss
文件:
@import "../../node_modules/bootstrap-sass/assets/stylesheets/bootstrap";
从mypackage.json
:
"dependencies": {
"bootstrap": "^3.3.7",
"bootstrap-sass": "^3.3.7",
谢谢将这一行添加到
src/theme/Variables.scss的共享变量
部分
$font size base:14px!违约代码>谢谢,此解决方案非常有用。