Open opensas opened 3 years ago
/ping @alexanderniebuhr
quick comment 👎 Will update with more details once at my pc
Ok, there are two ways using windi with svelte / sveltekit. In our docs, the installation guide "svelte", uses our preprocessor, while the "vite" one has a section for using our vite-plugin. We need to keep documentation for both, since we will have both options in the future.
Can make sure to cross-link both and see if they need an update for both. Otherwise, I do not see any action needed.
According to the docs:
add svelte-windicss-preprocess config to svelte.config.js
but the default sveltekit now comes like this:
Several tutorials on the web tells that we should use
vite-plugin-windicss
like this:https://www.liip.ch/en/blog/sveltekit-and-tailwind-windi-css
and
https://dev.to/dansvel/sveltekit-windi-2g50