Skip to content
This repository was archived by the owner on Feb 1, 2026. It is now read-only.

Commit 16f12e7

Browse files
committed
fix: integrate useAttrs composable in TresCanvas component
- Added `useAttrs` import to enhance attribute handling in the `TresCanvas.client.vue` component, allowing for better integration of attributes passed to the component.
1 parent 7b4ec1d commit 16f12e7

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/runtime/TresCanvas.client.vue

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
<script setup lang="ts">
2+
import { useAttrs } from '#imports'
23
import { TresCanvas as CoreTresCanvas } from '@tresjs/core'
34
45
const attrs = useAttrs()
5-
6-
console.log({ attrs })
76
</script>
87

98
<template>

0 commit comments

Comments
 (0)