8000 feat: Nuxt Layer Support for autoImportPath by larsalbrecht · Pull Request #272 · cpsoinos/nuxt-svgo · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

feat: Nuxt Layer Support for autoImportPath #272

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

larsalbrecht
Copy link
  • Collect all importPaths from layers
  • Check for non-layers (maybe only needed for the tests)
  • Call addComponentsDir for all found directories

Why?
Current status:
If you use nuxt-layers and have an autoImportPath in the layer, for example, this will be overwritten if you also use one in the app.

New status:
Each la 8000 yer is searched for autoImportPath and all are added.

* Collect all importPaths from layers
* Check for non-layers
* Call addComponentsDir for all found directories
@larsalbrecht larsalbrecht force-pushed the feature/nuxt-layer-support-for-auto-import-path branch from eb1a02b to c6ccc3d Compare May 22, 2024 10:44
@larsalbrecht larsalbrecht changed the title Feature: Nuxt Layer Support for autoImportPath feat: Nuxt Layer Support for autoImportPath May 22, 2024
@nsd0lalbrecht
Copy link

Can someone help me with the type issue? How can I make the linter understand that the SVGO config is also used there and that is why the key exists?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
0