Skip to content

Commit 396e813

Browse files
committed
Update packages
1 parent defed73 commit 396e813

File tree

4 files changed

+8576
-6002
lines changed

4 files changed

+8576
-6002
lines changed

components/MyScene.client.vue

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,12 @@
1717
</template>
1818

1919
<script setup>
20-
import { OrbitControls, useTweakPane, StatsGl } from '@tresjs/cientos'
20+
import { OrbitControls, StatsGl } from '@tresjs/cientos'
21+
import { Pane } from 'tweakpane'
2122
2223
//
2324
// Refs
2425
//
25-
const { pane } = useTweakPane()
26-
2726
const sampleStore = useSampleStore()
2827
2928
const config = reactive({
@@ -49,6 +48,8 @@ onMounted(async () => {
4948
// Functions
5049
//
5150
function createDebugPane() {
51+
const pane = new Pane()
52+
5253
pane.title = 'Configuration'
5354
5455
pane.addBinding(gl, 'clearColor', { label: 'Clear Color', colorMode: 'hex' })

nuxt.config.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
// https://nuxt.com/docs/api/configuration/nuxt-config
22
export default defineNuxtConfig({
3+
compatibilityDate: '2024-04-03',
4+
35
app: {
46
head: {
57
title: 'Nuxt 3 + TresJS starter',

package.json

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -13,21 +13,22 @@
1313
"postinstall": "nuxt prepare"
1414
},
1515
"devDependencies": {
16-
"@nuxtjs/google-fonts": "^3.1.3",
17-
"@tresjs/nuxt": "^2.1.0",
18-
"@tweakpane/core": "^2.0.3",
16+
"@nuxtjs/google-fonts": "^3.2.0",
17+
"@tresjs/nuxt": "^3.0.3",
18+
"@tweakpane/core": "^2.0.4",
1919
"@tweakpane/plugin-essentials": "^0.2.1",
20-
"@types/node": "^20.11.5",
21-
"nuxt": "^3.9.3",
22-
"sass": "^1.70.0",
23-
"sass-loader": "^14.0.0",
24-
"vite-plugin-glsl": "^1.2.1"
20+
"@types/node": "^22.4.2",
21+
"nuxt": "^3.12.4",
22+
"sass": "^1.77.8",
23+
"sass-loader": "^16.0.1",
24+
"vite-plugin-glsl": "^1.3.0"
2525
},
2626
"dependencies": {
27-
"@pinia/nuxt": "^0.5.1",
28-
"@tresjs/cientos": "^3.7.0",
27+
"@pinia/nuxt": "^0.5.3",
28+
"@tresjs/cientos": "^4.0.0",
2929
"gsap": "^3.12.5",
30-
"pinia": "^2.1.7",
31-
"three": "^0.160.1"
30+
"pinia": "^2.2.2",
31+
"three": "^0.167.1",
32+
"tweakpane": "^4.0.4"
3233
}
3334
}

0 commit comments

Comments
 (0)