Repository navigation
Nuxt Framework as VueJS Option of Editor - #842
Conversation
|
Introduces Nuxt.js as a first-class template in the Babylon.js Editor |
|
Hey ! Thanks a lot !!! I did a quick review and everything looks fine. I'll try to check more today or max tomorrow. Can you also fix the conflicts? Thanks a lot |
|
Hi Julien , thanks for the quick reply. I have fixed the conflicts. |
|
Hey @LasanthaSudeera it looks like there are still conflicts :( I'm good to go !! But I noticed it's the first time I installed Nuxt on this machine and it asked me approval for analytics. The thing is the automatic install made by the editor when opening the project stays stuck on this and never resolves until we manually accept or decline using a command line. Is there any way to force the value ? Should we approve by default ? Or decline by default ? Thanks for your answers, right after this we can merge |
|
Hi @julien-moreau, Telemetry is now disabled by default, thanks for the heads up, I totally missed that for new users! As for the conflicts, everything looks clear on my end. I’m not seeing any issues.
|
|
Thanks a lot !! |

Summary
Introduces Nuxt.js as a first-class template in the Babylon.js Editor, alongside the existing Next.js, Solid, Vanilla, and Electron options. Users picking "Nuxt" from the "Create Project" dashboard get a ready-to-run Nuxt 3 +
Babylon.js 9 project with the editor's scripting decorators, Havok physics, and scene loader wired up.
Changes Made
Editor integration
dashboard fetches and decompresses into the user's chosen folder.
Nuxt project template (templates/nuxtjs/)
.vscode/launch.json, and README.md.
physics, attaches the active camera, and runs the render loop. Disposes engine/scene and the resize listener on onBeforeUnmount.
editor-tools pipeline work inside Nuxt:
strips type-only imports (e.g. IScript). Nuxt's own typescript.tsConfig option only rewrites .nuxt/tsconfig.json and is not forwarded to Vite's transform pipeline, so these have to be set here explicitly.
Benefits