How to add 3D to your Vue App using ThreeJS

preview_player
Показать описание
UPDATE ⚠️:

New videos 🔥:

----

If you ever wonder how to add a new dimension to your vue apps, this video is for you.

We will go through how to install and use ThreeJS a WebGL renderer library for Javascript in your favorite framework.

If you have any questions please share them in the comments, and don't forget to subscribe for more content like this.

----

Our Sponsors

Meet Storyblok (not Storybook which is a different thing) The world's first headless CMS that works for both developers & business users.

I must warn you when you start using it, you will never go back to any other CMS solution

00:00 - Intro
00:48 - Create a vue app
01:35 - Installing ThreeJS
03:50 - Basic concepts of ThreeJS
04:37 - Adding a scene and a camera
06:40 - Using the WebGLRenderer with Vue
10:51 - Adding an object mesh
13:02 - Aspect ratio with Vueuse
15:46 - Watch window resize
19:16 - The Loop
23:28 - Add tweakpane as a composable
26:59 - Adding controls to the scene
30:17 - Composables and reactivity
33:03 - Vue dev tools to debug threejs
34:21 - Composition and future videos
Рекомендации по теме
Комментарии
Автор

please please make more suc videos using Tres and Vue! Maybe even an entire project from scratch. Would absolutely love to see something like that

swathimohan
Автор

Hey there! little update for 3D fans using Vue


New videos 🔥:



Let me know what do you think?

AlvaroDevLabs
Автор

Hello amazing content thank you for taking the time to make this, I have a question would it be posible to put all the threejs inside a composable? would it still be performant? Gracias, un saludo

rodrigoreyessanchez
Автор

Introducing proxy into vue3 as a default was the biggest mistake with vuejs. I'll never understand why so many engineers prefer complexity and wrapper over wrappers over wrappers. It was not broken, so there was no need to fix it. This is the Java Paradigm all over again, introducing unneeded code, boilerplate, I could go on and on, but it's super frustrating what a waste of time.

CorTec
Автор

only if you could use editor in wide screen mode.

stsbmu
Автор

How's the performance compared to React Fiber with Threejs ?

ajinkyax