vuejs / vuejs/devtools

[Feature]: Allow appendTo as an array or glob pattern

Open
#746 3 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement good first issue pr welcome
Dominant language
TypeScript
Stars
2.9k
Forks
279
PR merge metrics
No merged PRs in 30d

Description

Hi, I'm currently working with a Laravel Inertia setup and I'm using a multi build setup. Meaning that I have two entry files for different domains (public / backend).

Currently it's impossible to register both with the appendTo option in the Vite Plugin, but I think it would be a good addition. Optionally we could also maybe use a glob pattern instead, but both would be an improvement imo.

Is this possible and wanted? If so, I can also submit a PR.
Thanks!

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the Vite Plugin implementation and its current appendTo option handling. Determine how multiple entry files are configured and define the accepted array or glob behavior; the work is done when both domain entries can be registered through appendTo and the behavior is covered by the project's relevant tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript, vite
Domain
build-system, tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.