Vue SFCs prevent Tailwind from generating CSS classes with vite-plugin-ssr
#9587
Closed
7 tasks done
Labels
vite-plugin-ssr
#9587
Describe the bug
When using
vite-plugin-ssr
with a page in "client-only" mode (by changing the filename from.page.vue
to.page.client.vue
), Tailwind cannot seem to generate new classes. See instructions provided in the linked repo.I believe this issue is related to
@vitejs/plugin-vue
and notvite-plugin-ssr
or Tailwind because everything works fine as long as the page file is a.page.client.js
or some other extension and not a.page.client.vue
Vue SFC file. I posted the issue here instead ofvuejs/core
because even when using a SFC file, everything works when just doing.page.vue
(not doing "client-only" mode).Reproduction
https://github.com/AaronBeaudoin/vite-issue-vue-sfc-tailwind
System Info
Used Package Manager
npm
Logs
No response
Validations
The text was updated successfully, but these errors were encountered: