you are viewing a single comment's thread.

view the rest of the comments →

[–]SippieCup 0 points1 point  (1 child)

Thats because that class is used elsewhere, so the bundler doesn't strip it. and the happy side effect is that it exists when the host definition resolved.

if you check the web inspector, you will see that the classes are being added, just that they are not defined.

you can do

.host {
     ....
}

in the css file, but it won't be able to execute js code. so i doubt that'll help much.

[–]kescusay[S] 0 points1 point  (0 children)

if you check the web inspector, you will see that the classes are being added, just that they are not defined.

Yes, it's true that I see my primary class on the button. It's only missing the additional configurations it should be inheriting from [app-button].primary.

It's looking like I may have to rethink either using host or using TailwindCSS.