skip to Main Content

I do not know how to disable SCSS class format for now.

I want to switch from this :

.header {

  &__row {}

  &__logo {}

  &__nav {}

}

to this :

.header__row {
  
}

I tried to look in the settings, enabled SCSS but nothing helps.

2

Answers


  1. Chosen as BEST ANSWER

    Thanks for the answer but the problem remains even with the option "eCSS tractor run without BEM".This is what I have

    And this is how I want it to be


  2. You are generating a nested stylesheet for preprocessors. To generate CSS, do one of the following actions :

    1. Press Ctrl+Shift+P to launch command palette and choose :
      • eCSStractor Run (Without BEM Nesting)

    Or

    1. Go to the extension settings and make sure ecsstractor_port.bem_nesting is set to false.
    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search