Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with Maui Hybrid Blazor projects using DartSassBuilder #30

Open
bgraham1962 opened this issue Aug 3, 2023 · 3 comments
Open

Comments

@bgraham1962
Copy link

bgraham1962 commented Aug 3, 2023

Hi,

I have come across an issue with using the DartSassBuilder with MAUI Blazor Hybrid app projects in VS 2022.

Basically, I cannot use the Publish function to create an Android bundle. I get the error:

The Sass rule is missing the {item type} property.

I have tried other Sass compilers and they seem to work but we have developed a very complicated Sass theme using your DartSassBuilder so I don't want to try and put in another one at this stage.

The only difference I can see in VS 2022 is in the *.scss file Properties.
For example, If I do not have DartSassBuilder installed I see:
image

But if I have DartSassBuilder installed I see:
image

The Publish works for the first project but not the second.

Do you have to define a 'Sass Rule' in your builder?

Regards
Brian

@johan-v-r
Copy link
Collaborator

johan-v-r commented Aug 4, 2023

Hi Brian - The package does include a Sass Rule here, but you shouldn't really have to add it yourself.

Maybe that rule can be updated to fit your needs..?

Can you maybe create a new small project to replicate this issue?

@bgraham1962
Copy link
Author

bgraham1962 commented Aug 9, 2023 via email

@bgraham1962
Copy link
Author

bgraham1962 commented Aug 15, 2023 via email

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

No branches or pull requests

2 participants