sass compilation

Post Reply
amarullahnazia
Posts: 1
Joined: 13 May 2021, 09:32

15 May 2021, 01:48

I would like to know the workflow of working with sass in the template. For example, how can I watch for changes in src/assets/sass folder and then build the css in the layout/css folder ?
Is there any documentation for that ?

I tried sass --watch src/:src/ --no-source-map command but it converts all the scss files to css.

merve7
Posts: 738
Joined: 12 Sep 2017, 10:44

18 May 2021, 15:59

Hi,
"sass --watch ..." command watches your changes. Also, you can specify folders or files for example;

Code: Select all

sass --watch src/assets/layout/css:src/assets/layout/css --no-source-map
You can see details for sass commands (https://sass-lang.com/documentation/cli/dart-sass)

Post Reply

Return to “Atlantis - PrimeNG”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 2 guests