Skip to content

Can't use tres in latest version of vitepress #1099

@bd-dxg

Description

@bd-dxg

Describe the bug

I tried to add the 3d image of the tres build in vitepress, but it failed, I did everything according to the instructions on the official website documentation

Reproduction

https://stackblitz.com/edit/vite-vmh2csdn?file=package.json

Steps to reproduce

npm run docs:dev

System Info

System:
    OS: Windows 11 10.0.26100
    CPU: (20) x64 13th Gen Intel(R) CoreT i7-13800H
    Memory: 17.19 GB / 31.74 GB
  Binaries:
    Node: 24.8.0 - ~\AppData\Local\pnpm\node.EXE
    npm: 11.6.0 - ~\AppData\Local\pnpm\npm.CMD
    pnpm: 10.15.0 - ~\AppData\Local\pnpm\pnpm.EXE
  Browsers:
    Edge: Chromium (140.0.3485.54)
  npmPackages:
    @tresjs/core: ^5.0.2 => 5.0.2
    vitepress: 2.0.0-alpha.12 => 2.0.0-alpha.12

Used Package Manager

pnpm

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions