# \#vite

**URL:** https://forum.babylonjs.com/tag/vite/334.md

[Latest](https://forum.babylonjs.com/latest.md) · [Categories](https://forum.babylonjs.com/categories.md) · [Tags](https://forum.babylonjs.com/tags.md)

---

## [Choosing framework and build tool](https://forum.babylonjs.com/t/choosing-framework-and-build-tool/64207)

<div class="topic-metadata">

**Author:** [@HiGreg](https://forum.babylonjs.com/u/HiGreg)\
**Replies:** 3\
**Last updated:** [October 3, 2026, 10:24am UTC](https://forum.babylonjs.com/t/choosing-framework-and-build-tool/64207 "2026-10-03T10:24:38Z")

</div>

I have very elementary working knowledge of frameworks and build tools and feel that it is time for me to make a choice on both for my current project. Can anyone confirm my choices? Vite over Webpack: Vite build tool …

---

## [Inspector v2 not importing properly when using Vite in dev mode](https://forum.babylonjs.com/t/inspector-v2-not-importing-properly-when-using-vite-in-dev-mode/63269)

<div class="topic-metadata">

**Author:** [@kvbh](https://forum.babylonjs.com/u/kvbh)\
**Replies:** 10\
**Last updated:** [April 27, 2026, 8:55pm UTC](https://forum.babylonjs.com/t/inspector-v2-not-importing-properly-when-using-vite-in-dev-mode/63269 "2026-04-27T20:55:25Z")

</div>

When using Vite as the build and development tool, the inspector seems to have problems loading. I’ve created a repository to demo the issue: The error occurs at the time of import. In my example, I am simply doing im…

---

## [Pong: Single player vs AI in TypeScript and Vite](https://forum.babylonjs.com/t/pong-single-player-vs-ai-in-typescript-and-vite/59978)

<div class="topic-metadata">

**Author:** [@Corysia](https://forum.babylonjs.com/u/Corysia)\
**Replies:** 5\
**Last updated:** [March 20, 2026, 1:44am UTC](https://forum.babylonjs.com/t/pong-single-player-vs-ai-in-typescript-and-vite/59978 "2026-03-20T01:44:39Z")

</div>

I made a small Pong game to share as a simple Babylon.JS example. Source is available here on GitHub as well as a playable demo. I’m having a hard time beating the UI, but a friend sent me a video where he did. …

---

## [How to Properly Load HavokPhysics.wasm in a Nuxt/Vite Project](https://forum.babylonjs.com/t/how-to-properly-load-havokphysics-wasm-in-a-nuxt-vite-project/56921)

<div class="topic-metadata">

**Author:** [@nsju4n4lfr3d0](https://forum.babylonjs.com/u/nsju4n4lfr3d0)\
**Replies:** 0\
**Last updated:** [March 4, 2025, 10:02pm UTC](https://forum.babylonjs.com/t/how-to-properly-load-havokphysics-wasm-in-a-nuxt-vite-project/56921 "2025-03-04T22:02:57Z")

</div>

If you’re using Babylon.js with Havok Physics in a Nuxt (Vue 3) project, you might encounter an error when trying to initialize physics. The console might show something like this: Uncaught (in promise) RuntimeError: Ab…

---

## [Astro + Vite Failing to Resolve Scoped Package \`@babylonjs/core\`](https://forum.babylonjs.com/t/astro-vite-failing-to-resolve-scoped-package-babylonjs-core/54244)

<div class="topic-metadata">

**Author:** [@rd3](https://forum.babylonjs.com/u/rd3)\
**Replies:** 17\
**Last updated:** [October 29, 2024, 10:22pm UTC](https://forum.babylonjs.com/t/astro-vite-failing-to-resolve-scoped-package-babylonjs-core/54244 "2024-10-29T22:22:02Z")

</div>

Hello, I’m encountering a problem in my Astro project where Vite fails to resolve the scoped package @babylonjs/core during development. While TypeScript successfully recognizes the module, the browser returns the follo…

---

## [Why can't Havok Physics work with vite and typescript](https://forum.babylonjs.com/t/why-cant-havok-physics-work-with-vite-and-typescript/54132)

<div class="topic-metadata">

**Author:** [@dev-charles15531](https://forum.babylonjs.com/u/dev-charles15531)\
**Replies:** 8\
**Last updated:** [October 15, 2024, 2:26pm UTC](https://forum.babylonjs.com/t/why-cant-havok-physics-work-with-vite-and-typescript/54132 "2024-10-15T14:26:35Z")

</div>

I keep getting this error in browser and i’m so drained and lost: TypeError: this.\_physicsEngine.removeImpostor is not a function at \_PhysicsImpostor.\_init (chunk-DQNGVYKG.js?v=dde2dffd:27786:25) at new \_Physics…

---

## [Create-babylon-app v1.0 has been released 🎉](https://forum.babylonjs.com/t/create-babylon-app-v1-0-has-been-released/52868)

<div class="topic-metadata">

**Author:** [@drumath2237](https://forum.babylonjs.com/u/drumath2237)\
**Replies:** 2\
**Last updated:** [August 19, 2024, 1:03pm UTC](https://forum.babylonjs.com/t/create-babylon-app-v1-0-has-been-released/52868 "2024-08-19T13:03:27Z")

</div>

Brand new create-babylon-app CLI has been released! create-babylon-app is a CLI for creating Babylon.js project from some templates. I have posted last year about this in Babylon.js Forum. Today, I’ve released ve…

---

## [Vite create babylon project](https://forum.babylonjs.com/t/vite-create-babylon-project/45847)

<div class="topic-metadata">

**Author:** [@lvjing1111122](https://forum.babylonjs.com/u/lvjing1111122)\
**Replies:** 1\
**Last updated:** [November 22, 2023, 1:23pm UTC](https://forum.babylonjs.com/t/vite-create-babylon-project/45847 "2023-11-22T13:23:59Z")

</div>

Made some modifications and optimizations based on the Babylon case Eliminates side effects after packaging Support glsl import through import method etc.

---

## [How to properly set up a Vite project when using custom shaders and ShaderMaterial](https://forum.babylonjs.com/t/how-to-properly-set-up-a-vite-project-when-using-custom-shaders-and-shadermaterial/44193)

<div class="topic-metadata">

**Author:** [@johannesugb](https://forum.babylonjs.com/u/johannesugb)\
**Replies:** 8\
**Last updated:** [September 17, 2023, 8:45am UTC](https://forum.babylonjs.com/t/how-to-properly-set-up-a-vite-project-when-using-custom-shaders-and-shadermaterial/44193 "2023-09-17T08:45:46Z")

</div>

Disclaimer: First of all, my whole JavaScript framework/setup/build system/etc. knowledge is very limited, so it can be very likely that I am missing something fundamental or basic. Question: I have set up a Vite-based…

---

## [How do you make your own (personal) library of scripts?](https://forum.babylonjs.com/t/how-do-you-make-your-own-personal-library-of-scripts/43781)

<div class="topic-metadata">

**Author:** [@addem](https://forum.babylonjs.com/u/addem)\
**Replies:** 7\
**Last updated:** [September 4, 2023, 10:09pm UTC](https://forum.babylonjs.com/t/how-do-you-make-your-own-personal-library-of-scripts/43781 "2023-09-04T22:09:41Z")

</div>

I have made a few functions to abstract some stuff that I plan on doing over and over in many different projects. Therefore I have my current project in one directory, but also the library of functions in a different di…

---

## [WebGPU not working in vite project](https://forum.babylonjs.com/t/webgpu-not-working-in-vite-project/40519)

<div class="topic-metadata">

**Author:** [@Leon](https://forum.babylonjs.com/u/Leon)\
**Replies:** 3\
**Last updated:** [May 5, 2023, 2:16pm UTC](https://forum.babylonjs.com/t/webgpu-not-working-in-vite-project/40519 "2023-05-05T14:16:46Z")

</div>

Hi! I just wanted to test out webgpu now that it is available in chrome 113. But I ran into problems straight away. I created a new babylon vite project via the create-babylon npm library npm init babylon@latest The…
