prashantpalikhe / nuxt-ssr-lit

SSR support for Lit elements in Nuxt3
Other
47 stars 7 forks source link

feat: process vue files outside the src dir #45

Closed prashantpalikhe closed 1 year ago

prashantpalikhe commented 1 year ago

This allows us to auto-wrap components that could be imported from node_modules or other directories using Nuxt's auto-import.

Additionally, limiting the usage to only Vue files helps to maintain the plugin's performance.

steveworkman commented 1 year ago

Should we add another test for a vue file outside of the src directory so that we can prove the change works?

prashantpalikhe commented 1 year ago

Should we add another test for a vue file outside of the src directory so that we can prove the change works?

Good one. I have added a test for it.