How to use the style tag with jade templates?

前端 未结 4 418
别那么骄傲
别那么骄傲 2021-01-31 01:43

This style code worked for me a few months back. I have updated to the latest Jade NPM package and now it is not working. Can some please assist me with the proper way to inli

4条回答
  •  情话喂你
    2021-01-31 02:11

    This worked for me:

    style.
      body {
        background-color: {{themeColor}};
      }
    

    Got it from: https://github.com/mquandalle/meteor-jade/issues/102 where the post suggests to use "dot notation"

提交回复
热议问题