Tailwind issue
Closed this issue · 2 comments
marksteven commented
Tried taking your boilerplate - installed working fine
Then added popular css module Tailwindcss
npx svelte-add@latest tailwindcss
which broke it
with token error
marksteven commented
Further testing. Something I have not come across.
It seems installing Tailwind runs a few scripts that rebuilt a number of pages that Tailwind deemed written wrong and broke.
+layout.svelte being the main one.
Breaking the i18n capability of switching languages.
Fixing +layout.svelte got project to run properly so my suggestion to anyone else trying is keep a separate copy of +layout.svelte whilst you load Tailwind and repair if needed.
ivanhofer commented
Thanks for sharing this.
I'll close this issue, since it it not related to typesafe-i18n
.