Why put in front of the file name “_” or “_” in scss/css?

前端 未结 6 1779
悲&欢浪女
悲&欢浪女 2020-12-02 10:45

Why put _ in front of the filename in scss?

_filename.scss - Why does it need _ ?

6条回答
  •  暖寄归人
    2020-12-02 11:32

    Also using the watcher of node-sass in a node environment will result in error messages if you do without the underscore prefix, see https://github.com/sass/node-sass/issues/2762

提交回复
热议问题