Skip to content
This repository has been archived by the owner on Mar 22, 2023. It is now read-only.

Sass compilation not finished when moving to next build step? #63

Open
Mathyn opened this issue Nov 10, 2022 · 1 comment
Open

Sass compilation not finished when moving to next build step? #63

Mathyn opened this issue Nov 10, 2022 · 1 comment

Comments

@Mathyn
Copy link

Mathyn commented Nov 10, 2022

I am using the latest version of Maui on Windows 10.

This is what I am seeing:

  • I add LibSassBuilder to the project using NuGet
  • I have a bunch of razor components with a local SCSS file along with a couple of global SCSS files
  • When I run the project for the first time the styling is messed up, looking in the debugger shows the style sheets were not included
  • Running the app again (without making any changes) shows the styling as expected.

It looks like the first time when the sass compiler needs to compile lots of files it moves to the next step (which bundles all CSS files together) before it was actually completed. The end result is missing styles.

Am I doing something wrong? Maybe I missed some configuration? Any help would be greatly appreciated!

@johan-v-r
Copy link
Owner

Hi @Mathyn

Is this a MAUI Blazor app?
Which OS/device/emulator are you debugging against? Does it happen on others as well?

I've just tested a MAUI Blazor app with the latest LibSassBuilder v3 using both global & isolated SCSS files, which worked fine.
Could you perhaps create a sample app to reproduce, or list exact steps to replicate from a brand new app?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants