GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Proposal: framework-aware application commands · Issue #3107 · voidzero-dev/vite-plus

Proposal: framework-aware application commands #3107

New issue
Copy link
New issue
Copy link
Closed as not planned
Feature
Closed as not planned
Proposal: framework-aware application commands#3107
Feature
Copy link
Labels
pending triage

Description

@liangmiQwQ
liangmiQwQ
opened on Oct 18, 2026
Issue body actions

Today's vp dev, vp build and vp preview are hard-written to run Vite+'s own vite, vite build, and vite preview. Users of meta frameworks like Nuxt have to use nuxt cli to start a dev server.

I propose introducing a framework-aware application commands, configured through a package-level framework API in vite.config.ts:

defineConfig({
  framework: nuxt(),
  fmt: { semi: false },
  /* ... */
})

Inside, nuxt(), it returns the correct command that vp dev should run, like nuxt dev. It would find binaries under project-level .bin, similar to vp exec.

Vite+ command Framework command
vp dev nuxt dev
vp build nuxt build
vp preview nuxt preview

This means Vite+ passes all arguments to the underlying commands themselves. The usage of vp dev would be the same as nuxt dev, vp dev --help also has the same output as nuxt --help.

Framework-specific configuration would remain in the framework‘s own config file. For example, nuxt.config.ts#vite would still be the source of truth for nuxt features. Vite+ would not automatically merge them from vite.config.ts, we may even consider printing warnings for this case.

Alternative: Why not swtich modes by reading nuxt.config.ts automatically

What we hope to do is not simply nuxt support. There are hundreds of active meta frameworks on the market. Relying entirely on Vite+ to handle the logic would be extremely centralized and difficult to maintain. (Even if doing so could reduce the likelihood of AI agents making mistakes)

Why does this matter, and why is this different from raw vite

In my opinion, Vite+ is the entry point of all development process, vp lint, vp check etc. For Nuxt users, vite cli is almost Invisible, because they have their own oxlint cli and may completely skip vite cli command. When developers and agents are already familiar with vp workflow, changing to nuxt or other cli is a significant change in habits.

Reacted by KTrain
Reacted by Bo Lingen, JongKyung Lee and Norbiros

Activity

  1. liangmiQwQ
    added
    pending triage
    on Oct 18, 2026
  2. liangmiQwQ
    changed the title [-]Proposal: `framework` config item to[/-] [+]Proposal: framework-aware application commands[/+] on Oct 18, 2026
  3. liangmiQwQ
    added a related issue on Oct 18, 2026
    • Better Nuxt/Astro integration #1506
  4. fengmk2
    added the
    Feature
    issue type on Oct 18, 2026
  5. liangmiQwQ
    set
    Priority
    to
    Low
    on Oct 19, 2026
  6. liangmiQwQ
    closed this as not plannedon Oct 30, 2026
  7. liangmiQwQ
    removed a related issue on Nov 4, 2026
    • Better Nuxt/Astro integration #1506
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

    pending triage

    Type

    Feature

    Fields

    Priority

    Low

    Start date

    None yet

    Target date

    None yet

    Effort

    None yet

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.