# Nextjs + BabylonJs

**URL:** <https://forum.babylonjs.com/t/nextjs-babylonjs/29909>\
**Category:** Questions\
**Created:** [May 1, 2022, 4:01pm UTC](https://forum.babylonjs.com/t/nextjs-babylonjs/29909 "2022-05-01T16:01:03Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mixofo](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/mixofo/32/7947_2.png) [@mixofo](https://forum.babylonjs.com/u/mixofo)\
**Post date:** [May 1, 2022, 4:01pm UTC](https://forum.babylonjs.com/t/nextjs-babylonjs/29909/1 "2022-05-01T16:01:03Z")

</div>

Hello guys , please someone can help me with a boilerplate to make work BabylonJs on Nextjs ?

I spent 3 days to make them work together using those topics but sadly i got alotof errors ( it is toked me 3min to make work nextjs + threejs perfectly and i hope if i can do it also with babylonjs ) :

> [@How to use Babylon with Next JS](https://forum.babylonjs.com/t/how-to-use-babylon-with-next-js/26665):
>
> Hi im new to the forum. Could someone help me with a step by step guide on how to use Babylon with Nextjs. I just need a simple example/tutorial beginning with what to install and how to write the code into a Nextjs index.js file so i can render it on the browser. Thanks to everyone in advance

> [@Babylon + Next.js Setup Optimized for SEO, Load Speed & Developer Experience](https://forum.babylonjs.com/t/babylon-next-js-setup-optimized-for-seo-load-speed-developer-experience/27412):
>
> Hi everyone! According to many questions posted in this forum, people were having problems with getting a working setup of Babylon and Next.js. So here is the guide on [How to Setup Babylon + Next.js Production Build Optimized for SEO & Speed](https://3designer.app/best/babylon-nextjs-setup). It comes with a proven starter template repository on [GitHub](https://github.com/ecoinomist/babylon-next) (tested on MacOS, Linux). @note: Windows users should install this template using yarn, not npm because it will probably produce errors with npm. If you haven’t installed yarn, do this first: …

Thanks

---

<div class="post-metadata">

**Author:** ![ecoin](https://avatars.discourse-cdn.com/v4/letter/e/8e7dd6/32.png) [@ecoin](https://forum.babylonjs.com/u/ecoin)\
**Post date:** [May 1, 2022, 7:53pm UTC](https://forum.babylonjs.com/t/nextjs-babylonjs/29909/2 "2022-05-01T19:53:51Z")

</div>

You need to at least describe your OS, and errors you are receiving

---

<div class="post-metadata">

**Author:** ![mixofo](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/mixofo/32/7947_2.png) [@mixofo](https://forum.babylonjs.com/u/mixofo)\
**Post date:** [May 1, 2022, 10:06pm UTC](https://forum.babylonjs.com/t/nextjs-babylonjs/29909/3 "2022-05-01T22:06:02Z")

</div>

thanks a lot my friend , but i will stop using Babylonjs , and back to Threejs … thanks again !!

---

<div class="post-metadata">

**Author:** ![sebavan](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/sebavan/32/57_2.png) [@sebavan](https://forum.babylonjs.com/u/sebavan)\
**Post date:** [May 2, 2022, 3:20pm UTC](https://forum.babylonjs.com/t/nextjs-babylonjs/29909/4 "2022-05-02T15:20:08Z")

</div>

@mixofo, it is really sad to see you go and I wish we can improve this part from your feedback.

@RaananW is amazing at all things build related so if you could share your issues we d be more than happy to improve our framework.
