Use SASS (from command line) and Autoprefixer (for Bootstrap 4.x)

前端 未结 4 1454
遥遥无期
遥遥无期 2021-02-20 13:23

I have recently started using the scss files, especially to customize Bootstrap.

To compile my scss files (and also bootstrap) i use sa

4条回答
  •  旧巷少年郎
    2021-02-20 13:45

    I guess you are using npm to convert scss to css.

    Just need to install postcss which comes inbuilt with autoprefixer plugin. Then in place of sass in commandline you need to use postcss in commandline to convert to css. please refere to https://www.npmjs.com/package/postcss#npm-run--cli

提交回复
热议问题