Skip to content

support multiple instance #883

Open
Open

Description

@Shana-AE

Clear and concise description of the problem

https://stackblitz.com/edit/vitejs-vite-tytgmrg8?file=vite.config.ts

I have multiple components folders need to be resolved. one is business components put in src/components and should has directoryAsNamespace: true, and one is ui components, which should be used without namespace. I try to use multiple instance to generate two .d.ts files to make it more clear and tweakable. But I found the second instance cannot resolve components. Is there any good solution? thx

Image

Suggested solution

add support for multiple instance

Alternative

No response

Additional context

No response

Validations

Activity

  1. bolt-new-by-stackblitz commented on Sep 17, 2025

    @bolt-new-by-stackblitz
  2. lyric-zemin commented on Sep 22, 2025

    @lyric-zemin

    Because a file will only be converted once, converted files will be marked with an /* unplugin-vue-components disabled */

  3. Shana-AE commented on Sep 26, 2025

    @Shana-AE
    Author

    Because a file will only be converted once, converted files will be marked with an /* unplugin-vue-components disabled */

    thanks. but if it supports multiple instances or multiple separated configure for deferent path, it'll be more convenient.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions