diff --git a/package.json b/package.json index dffe6e7fb..507ece8fd 100644 --- a/package.json +++ b/package.json @@ -40,7 +40,7 @@ "dev": "vite", "build": "vite build", "preview": "vite preview", - "playground": "cd playground && nr dev", + "playground": "cd playground && npm run dev", "test": "vitest", "test:ci": "vitest run", "test:ui": "vitest --ui", diff --git a/playground/src/components/TheEvents.vue b/playground/src/components/TheEvents.vue index c238976ca..22aa7951d 100644 --- a/playground/src/components/TheEvents.vue +++ b/playground/src/components/TheEvents.vue @@ -2,6 +2,7 @@ import { BasicShadowMap, NoToneMapping, sRGBEncoding } from 'three' import { reactive } from 'vue' import { OrbitControls } from '@tresjs/cientos' +import { TresCanvas } from '/@/' const state = reactive({ clearColor: '#201919', @@ -19,7 +20,6 @@ function onClick(ev) { } function onPointerEnter(ev) { - console.log(ev) if (ev) { ev.object.material.color.set('#DFFF45') } diff --git a/playground/src/pages/index.vue b/playground/src/pages/index.vue index 44a8bb1e4..563a8bf1a 100644 --- a/playground/src/pages/index.vue +++ b/playground/src/pages/index.vue @@ -1,7 +1,5 @@ - + \ No newline at end of file + + + diff --git a/playground/src/pages/shapes.vue b/playground/src/pages/shapes.vue index 253ed899b..1b509ed6b 100644 --- a/playground/src/pages/shapes.vue +++ b/playground/src/pages/shapes.vue @@ -83,7 +83,7 @@ const tubePath = new CubicBezierCurve3(