CSS for future v3 #15467
Replies: 4 comments 1 reply
-
I was thinking of making an à la carte sass loader for quasar to generate the final css marking each ts component with it's associated import without any refactoring, because you're never using all the components, if we can filter the components we're not using from the css it's already a 30-40% css reduction Then we can extend this loader even more and add a css purge per component, based on the props used in the templates etc Btw you can already load quasar without any styles and import your own itself importing the core quasar sass files, but it might be hard to maintain in your own project I did manage to get tailwind and quasar playing relatively nicely, but the biggest issue of quasar imo is the js and style size especially on mobile. On desktop I get a 98% lighthouse score easily but on mobile the score drops to 30-40 because the css and js take too long to parse (7 seconds according to lighthouse, but I don't know what kind of garbage phone specs they calibrated the test with though) |
Beta Was this translation helpful? Give feedback.
-
For the .q-hidden instead of .hidden for example |
Beta Was this translation helpful? Give feedback.
-
Thank you for opening this thread and your suggestions Mine ones:
|
Beta Was this translation helpful? Give feedback.
-
A massive improvement can be done with the use of CSS Cascade Layers |
Beta Was this translation helpful? Give feedback.
-
I want to make this discussion like an RFC for discussion on varius idea/proposal/solution and help core member to make quasar even more good.
I put some initial "personal" ideas/issue that i can think and expand if discussion go well
Starting from current "issues":
What can be done and other ideas:
Beta Was this translation helpful? Give feedback.
All reactions