Skip to content

fix(docs): make example gallery build in VitePress - #1655

Merged
lyj715824 merged 1 commit into
iflytek:mainfrom
lyj715824:bugfix/superteam
Aug 28, 2026
Merged

fix(docs): make example gallery build in VitePress#1655
lyj715824 merged 1 commit into
iflytek:mainfrom
lyj715824:bugfix/superteam

Conversation

@lyj715824

Copy link
Copy Markdown
Contributor

Fix the remaining GitHub Pages build failure after PR #1651.

The VitePress data loader runs in Node during build and cannot call import.meta.glob; detect preview files with the filesystem loader and let the Vue theme component import image URLs through Vite. This keeps the example gallery previews bundled and makes the Pages build work with the current VitePress release.

Signed-off-by: yjlu12 <1064690083@qq.com>
@lyj715824
lyj715824 merged commit a77c92a into iflytek:main Aug 28, 2026
33 checks passed
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.

1 participant