Must sass curly braces and semicolons not be written? Why? I think it can be written on the Internet.

table.hl
    margin: 2em 0
    td.ln
        text-align: right

li
    font:
        family: serif
        weight: bold
        size: 1.2em

webstorm write parentheses, semicolon error

May.14,2021

how is it possible not to have parentheses and semicolons? I can't compile normally without semicolons. This should be because your webstorm can't recognize sass syntax. Can you see if you want to configure something? I use vscode,. No problem.


Baidu / google SASS and SCSS


those who do not write curly braces are sass
those who write curly braces are scss



Previous: How do I open a previous vue-cli project with vue-cli 3.0?

Next: How to identify each layer of a set of array data

Menu