You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can reproduce with a basic offline application. The reason is that @StyleSheet are not added to offline cache list. While the fix is in progress, the workaround is to list stylesheets in offlineResources:
You could confirm the path names by checking the request paths for missing stylesheets in the network inspector in browser dev tools. There is a request type filter, setting CSS-only should help to reveal those. With Chrome dev tools, please take a look there:
Right, I should have thought about that. I'm no "born" front end dev... :)
But I don't see any styles there when offline.
When I access "http://localhost:8081/lumo/lumo.css" I see them offline, same for "styles.css".
Should I import the files somewhere I my TS files?
I also started my project years ago but I followed the changes - as least I Hope I didn't missed any.
Atm are the styles in "resources/META-INF.resources"
Importing styles from TS files might help, yes, worth a try. At the same time, it might introduce a duplicate import if you are also using @StyleSheet.
If working correctly, @StyleSheet entries should end up as <link> tags in the head section in HTML, both online and offline. That is what should make the styles apply. Please check if you have those in HTML response.
Also, please consider sharing an isolated repro if possible. It's fairly difficult to tell where the issue is otherwise.
Activity
platosha commentedon Jul 16, 2026
Can reproduce with a basic offline application. The reason is that
@StyleSheetare not added to offline cache list. While the fix is in progress, the workaround is to list stylesheets inofflineResources:Lars-jnk commentedon Jul 16, 2026
With Lumo would it be like that? But it still the same.
platosha commentedon Jul 17, 2026
@Lars-jnk yes, for Lumo should be like that, also including ulility stylesheet:
You could confirm the path names by checking the request paths for missing stylesheets in the network inspector in browser dev tools. There is a request type filter, setting CSS-only should help to reveal those. With Chrome dev tools, please take a look there:
Lars-jnk commentedon Jul 17, 2026
Right, I should have thought about that. I'm no "born" front end dev... :)
But I don't see any styles there when offline.
When I access "http://localhost:8081/lumo/lumo.css" I see them offline, same for "styles.css".
Should I import the files somewhere I my TS files?
I also started my project years ago but I followed the changes - as least I Hope I didn't missed any.
Atm are the styles in "resources/META-INF.resources"
platosha commentedon Jul 20, 2026
Importing styles from TS files might help, yes, worth a try. At the same time, it might introduce a duplicate import if you are also using
@StyleSheet.If working correctly,
@StyleSheetentries should end up as<link>tags in the head section in HTML, both online and offline. That is what should make the styles apply. Please check if you have those in HTML response.Also, please consider sharing an isolated repro if possible. It's fairly difficult to tell where the issue is otherwise.
fix(flow-server): add support for AppShell stylesheets in service wor…
fix(flow-server): add support for AppShell stylesheets in service wor…
fix(flow-server): add support for AppShell stylesheets in service wor…
fix(flow-server): add support for AppShell stylesheets in service wor…