Skip to content

feat: Nuxt Layer Support for autoImportPath - #272

Open
larsalbrecht wants to merge 2 commits into
cpsoinos:mainfrom
larsalbrecht:feature/nuxt-layer-support-for-auto-import-path
Open

feat: Nuxt Layer Support for autoImportPath#272
larsalbrecht wants to merge 2 commits into
cpsoinos:mainfrom
larsalbrecht:feature/nuxt-layer-support-for-auto-import-path

Conversation

@larsalbrecht

Copy link
Copy Markdown
  • 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 layer 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
Copy Markdown

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