K
K
Konstantin2021-02-18 12:58:44
Sass
Konstantin, 2021-02-18 12:58:44

Why doesn't the scout app compiler save styles in one file?

Using the Scout App compiler I enter the path

Input folder C:/Users/Konstantin/Desktop/AquaDoctor swimming/assets/sass
Output folder C:/Users/Konstantin/Desktop/AquaDoctor swimming

In the folder C:/Users/Konstantin/Desktop/AquaDoctor swimming/ assets/sass
I create style.sass and import other files in this folder

//Базовые настройки сетки
@import 'bootstrap'
@import 'test'


body, html
  height: 100%


body
  line-height: 1.7em
  font-size: 16px
  display: flex
  flex-direction: column
  background-color: #fff


But in the end, the compiler does not save swimming as one file in the C:/Users/Konstantin/Desktop/AquaDoctor folder, but creates 3 (for each imported file)

602e3a154d216326704010.jpeg

How to fix the problem?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
Konstantin, 2021-02-18
@gradk

An error was found, files in the sass folder must begin with (file name) with an underscore:
_bootstraps.css
_test.sass
Then the compiler understands that they need to be combined.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question