Replies: 1 comment
-
Configure |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
My code like this:
.vitepress/theme/plugin.ts:
.vitepress/theme/components/ModelViewer:
.vitepress/theme/index.js
.vitepress/config.mjs
Usage in Markdown:
```gltf
./_gltf/01.glb
```
When dev, the model displayed. When build, Referencing Static Assets seems no intrests in the glb path, and no glb file in dist folder.
If there any ways to make glb filepath act like other Media filepath except drop it to the public folder?
Apologize for my poor language and codes...
Beta Was this translation helpful? Give feedback.
All reactions