php - How to import bootstrap scss using scssphp? -
i trying import bootstrap.scss , compile in it. able ti import single scss file not every scss file.
http://leafo.github.io/scssphp/docs/
how can below syntax modified import scss files in bootstrap ?
use leafo\scssphp\compiler; $scss = new compiler(); $scss->setimportpaths('assets/stylesheets/'); // search 'assets/stylesheets/mixins.scss' echo $scss->compile('@import "mixins.scss";');
the syntax
$compiledcss = $scss->compile('@import "bootstrap.scss";');
this import other scss files automatically.
Comments
Post a Comment