hperrin / svelte-material-ui

Svelte Material UI Components
https://sveltematerialui.com/
Apache License 2.0
3.31k stars 285 forks source link

docs: suggest leveraging vite static asset handling for theme files #658

Open NickantX opened 4 months ago

NickantX commented 4 months ago

Vite's Static Asset Handling can be helpful to mention in the instructions for theming SMUI. Notably, it solves the problem of stale caches after you deploy an updated SMUI theme for your application. I've included it here as a separate option rather than removing anything else, since not everyone is using Vite, but it is the default for new SvelteKit apps.