Skip to content
Discussion options

You must be logged in to vote

Looks like a chunk splitting regression and not a vue problem

A literal <detail> element in the html means the component resolved to undefined at render time
That happens when two modules sit in the same chunk with a circular import and one is still uninitialised when the other runs
Your grouping by first level directory under view is what decides those boundaries so the same code works in dev and breaks after build

Two builds to narrow it down

// vite.config.js
build: {
  rollupOptions: {
    output: { manualChunks: undefined },
  },
}

If the popup opens with grouping off the split is the trigger

npm i -D vite@8.0.12

If 8.0.12 is fine with the same config and 8.0.13 is not then it is a r…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by jiayp
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
2 participants
Converted from issue

This discussion was converted from issue #22540 on May 29, 2026 01:44.