Skip to content

Commit f19abcb

Browse files
authored
chore: trying to update deps (#145)
* chore: trying to update deps * chore: remove post-processing * chore: fix lint * chore: playground working now with cientos
1 parent 8a73538 commit f19abcb

25 files changed

+5611
-8745
lines changed
File renamed without changes.

client/components/Pane.vue renamed to client/components/DevtoolsPane.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,6 @@ defineProps<{
2626
-top-2
2727
left-2"
2828
>{{ title }}</span>
29-
<slot></slot>
29+
<slot />
3030
</div>
3131
</template>

client/components/ModuleAuthorNote.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
target="_blank"
1818
>
1919
nuxt/devtools
20-
</NLink> repository.<br />
20+
</NLink> repository.<br>
2121
The UI components are coming from <NLink
2222
href="https://github.com/nuxt/devtools/tree/main/packages/devtools-ui-kit"
2323
target="_blank"

client/components/PerformanceMonitor.vue

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,14 +38,14 @@ const { fps, memory, renderer } = useDevtoolsHook()
3838
<div class="flex flex-col items-center gap-2">
3939
<div class="flex items-center font-mono gap-2">
4040
{{ renderer.info?.memory?.geometries || 0 }}
41-
<i class="i-iconoir-box-3d-three-points"></i>
41+
<i class="i-iconoir-box-3d-three-points" />
4242
</div>
4343
<span class="text-xs text-gray-500">Geometries</span>
4444
</div>
4545
<div class="flex flex-col items-center gap-2">
4646
<div class="flex items-center font-mono gap-2">
4747
{{ renderer.info?.memory?.textures || 0 }}
48-
<i class="i-iconoir-select-face-3d"></i>
48+
<i class="i-iconoir-select-face-3d" />
4949
</div>
5050
<span class="text-xs text-gray-500">Textures</span>
5151
</div>
@@ -64,28 +64,28 @@ const { fps, memory, renderer } = useDevtoolsHook()
6464
<div class="flex flex-col items-center gap-2 mb4">
6565
<div class="flex items-center font-mono gap-2">
6666
{{ renderer?.info?.render?.calls || 0 }}
67-
<i class="i-iconoir-comp-align-left"></i>
67+
<i class="i-iconoir-comp-align-left" />
6868
</div>
6969
<span class="text-xs text-gray-500">Calls</span>
7070
</div>
7171
<div class="flex flex-col items-center gap-2 mb4">
7272
<div class="flex items-center font-mono gap-2">
7373
{{ renderer?.info?.render?.triangles || 0 }}
74-
<i class="i-iconoir-triangle"></i>
74+
<i class="i-iconoir-triangle" />
7575
</div>
7676
<span class="text-xs text-gray-500">Triangles</span>
7777
</div>
7878
<div class="flex flex-col items-center gap-2 mb4">
7979
<div class="flex items-center font-mono gap-2">
8080
{{ renderer?.info?.render?.points || 0 }}
81-
<i class="i-iconoir-one-point-circle"></i>
81+
<i class="i-iconoir-one-point-circle" />
8282
</div>
8383
<span class="text-xs text-gray-500">Points</span>
8484
</div>
8585
<div class="flex flex-col items-center gap-2 mb4">
8686
<div class="flex items-center font-mono gap-2">
8787
{{ renderer?.info?.render?.lines || 0 }}
88-
<i class="i-iconoir-linear"></i>
88+
<i class="i-iconoir-linear" />
8989
</div>
9090
<span class="text-xs text-gray-500">Lines</span>
9191
</div>

client/components/SceneGraphItem.vue

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ function roundNumber(num: number) {
2626
<span
2727
v-if="depth > 0"
2828
class="h-1 border-b border-gray-300 w-4"
29-
></span>
29+
/>
3030
<div class="flex gap-2 items-center -mb2.5">
3131
<Icon :name="item.icon" />
3232
<!-- <i :class="item.icon" /> -->{{ item.type }} <UBadge
@@ -43,7 +43,7 @@ function roundNumber(num: number) {
4343
<span
4444
class="w4 h4 rounded-full mr-2 border border-gray-200"
4545
:style="{ backgroundColor: `#${item.color}` }"
46-
></span>
46+
/>
4747
#{{ item.color }}
4848
</UBadge>
4949
<UBadge
@@ -110,7 +110,7 @@ function roundNumber(num: number) {
110110
color="gray"
111111
variant="soft"
112112
>
113-
<i class="i-iconoir-box-3d-three-points mr2"></i>
113+
<i class="i-iconoir-box-3d-three-points mr2" />
114114
<a
115115
:href="`https://threejs.org/docs/#api/en/geometries/${item.geometry.type}`"
116116
target="_blank"
@@ -129,7 +129,7 @@ function roundNumber(num: number) {
129129
color="gray"
130130
variant="soft"
131131
>
132-
<i class="i-iconoir-select-face-3d mr2"></i>
132+
<i class="i-iconoir-select-face-3d mr2" />
133133
<a
134134
:href="`https://threejs.org/docs/#api/en/materials/${item.material.type}`"
135135
target="_blank"
@@ -145,7 +145,7 @@ function roundNumber(num: number) {
145145
<span
146146
class="w4 h4 rounded-full mr-2 border border-gray-200"
147147
:style="{ backgroundColor: `#${item.material.color.getHexString()}` }"
148-
></span>
148+
/>
149149
#{{ item.material.color.getHexString() }}
150150
</UBadge>
151151
</div>
@@ -164,7 +164,7 @@ function roundNumber(num: number) {
164164
<span
165165
class="w4 h4 rounded-full mr-2 border border-gray-200"
166166
:style="{ backgroundColor: `#${item.color}` }"
167-
></span>
167+
/>
168168
#{{ item.color }}
169169
</UBadge>
170170
</UTooltip>
@@ -191,7 +191,7 @@ function roundNumber(num: number) {
191191
>
192192
<i
193193
class="i-iconoir-axes mr1"
194-
></i>
194+
/>
195195
</UTooltip>
196196

197197
<UTooltip
@@ -229,7 +229,7 @@ function roundNumber(num: number) {
229229
<UTooltip
230230
text="Rotation"
231231
>
232-
<i class="i-carbon-rotate-clockwise mr-1"></i>
232+
<i class="i-carbon-rotate-clockwise mr-1" />
233233
</UTooltip>
234234

235235
<UTooltip
@@ -270,7 +270,7 @@ function roundNumber(num: number) {
270270
<UTooltip
271271
text="Scale"
272272
>
273-
<i class="i-iconoir-ellipse-3d-three-points mr-1"></i>
273+
<i class="i-iconoir-ellipse-3d-three-points mr-1" />
274274
</UTooltip>
275275

276276
<UTooltip

client/components/programs-module/item.vue renamed to client/components/programs-module/ProgramsModuleitem.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ const isExpanded = ref(false)
2222
<span
2323
v-if="depth > 0"
2424
class="h-1 border-b border-gray-300 w-4"
25-
></span>
25+
/>
2626
<div class="flex gap-2 items-center -mb2.5">
27-
<i :class="item.icon"></i>
27+
<i :class="item.icon" />
2828
<!-- <Icon :name="item.icon" /> -->
2929
<!-- <i :class="item.icon" /> -->{{ item.type }} <UBadge
3030
v-if="item.name "

client/nuxt.config.ts

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,32 @@
11
import { resolve } from 'pathe'
22

33
export default defineNuxtConfig({
4-
ssr: false,
4+
55
modules: [
66
'@nuxt/devtools-ui-kit',
77
'@unocss/nuxt',
88
'@nuxt/ui',
99
'@nuxt/icon',
1010
],
11+
ssr: false,
12+
13+
app: {
14+
baseURL: '/__tres_nuxt_devtools',
15+
},
16+
17+
compatibilityDate: '2024-12-19',
18+
1119
nitro: {
1220
output: {
1321
publicDir: resolve(__dirname, '../dist/client'),
1422
},
1523
},
24+
1625
icon: {
1726
size: '24px', // default <Icon> size applied
1827
class: 'icon', // default <Icon> class applied
1928
aliases: {
2029
mesh: 'carbon:cube',
2130
},
2231
},
23-
app: {
24-
baseURL: '/__tres_nuxt_devtools',
25-
},
2632
})

client/pages/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const { scene, memory, fps } = useDevtoolsHook()
1919

2020
src="/logo.svg"
2121
alt="tres logo"
22-
/>
22+
>
2323
<h2 class="opacity-60 font-bold">
2424
TresJS DevTools
2525
</h2>

client/pnpm-lock.yaml

Lines changed: 0 additions & 5 deletions
This file was deleted.

0 commit comments

Comments
 (0)