Closed prashantpalikhe closed 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?
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.
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.