Nuxt Framework as VueJS Option of Editor#842
Open
LasanthaSudeera wants to merge 4 commits intoBabylonJS:masterfrom
Open
Nuxt Framework as VueJS Option of Editor#842LasanthaSudeera wants to merge 4 commits intoBabylonJS:masterfrom
LasanthaSudeera wants to merge 4 commits intoBabylonJS:masterfrom
Conversation
Author
|
Introduces Nuxt.js as a first-class template in the Babylon.js Editor |
Contributor
|
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 |
Author
|
Hi Julien , thanks for the quick reply. I have fixed the conflicts. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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