blazor-threejs-migration - Migrate Three.js integrations to Blazor WebAssembly
Migrates or reconstructs a locally vendored Three.js integration in a Blazor WebAssembly project, including the JavaScript bridge, Razor page, cleanup, and GitHub Pages deployment.
Tags
Updated: 2026-10-04Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Migrate Three.js to Blazor
- Vendor Three.js through MSBuild
- Create an ESM JavaScript bridge
- Manage the 3D scene lifecycle
- Clean up Three.js resources
- Prepare GitHub Pages deployment
- Validate builds and vendored assets
Inputs
- Destination Blazor WebAssembly project
- Optional original repository
- Deployment target
- Offline requirement
- 3D page variant
Outputs
- Updated .csproj vendoring target
- wwwroot/js/three-bridge.js module
- Razor 3D page
- Optional GitHub Pages workflow
- Vendored Three.js assets
- Build validation result
Requirements
- Blazor WebAssembly project
- .NET SDK matching the project
- Node.js and npm
- Permission to modify project files
