O
O
onimusha2021-02-17 22:27:51
Visual Studio Code
onimusha, 2021-02-17 22:27:51

Visual Studio Code. You constantly have to save both the child style file and the parent one. What to do?

Hello!

1) I compiled the style.css file into style.scss
2) I create child files for individual pages: _shopping.scss
3) I link them in the parent styles.scss, as the doctor ordered -

@import 'product';
@import 'shopping';

4) When I make changes to the children - in order for them to apply, you need to save both the child and the parent

. Because of this, you need to keep them open in the editor and remember to save the parent all the time, which terribly infuriates

Autosave enabled
Connected extensions:
602d6de910f0f745195739.png

Turned off beautify and server - no change . Can anyone come across

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question