Skip to content

Commit 48e927f

Browse files
committed
Introduce sample layer component and experiment page
1 parent 4ad56fe commit 48e927f

File tree

3 files changed

+24
-0
lines changed

3 files changed

+24
-0
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
<template>
2+
<div>Component from the <code>sample</code> layer.</div>
3+
</template>

pages/experiments/index.vue

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,10 @@ const groups: ExperimentGroup[] = [
124124
{
125125
name: 'Error Handling',
126126
route: '/experiments/nuxt/error-handling'
127+
},
128+
{
129+
name: 'Layers',
130+
route: '/experiments/nuxt/layers'
127131
}
128132
]
129133
}
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
<template>
2+
<NuxtLayout name="home">
3+
<WlContainer class="flex flex-col gap-3 p-3">
4+
<h1 class="text-xl">Layers</h1>
5+
<p>A component from the <code>sample</code> layer:</p>
6+
<WlExperimentCanvas>
7+
<WlComponentLayer/>
8+
</WlExperimentCanvas>
9+
</WlContainer>
10+
</NuxtLayout>
11+
</template>
12+
13+
<script lang="ts" setup>
14+
import WlExperimentCanvas from '~/components/shared/experiments/WlExperimentCanvas.vue'
15+
import WlContainer from '~/components/shared/layout/WlContainer.vue'
16+
import WlComponentLayer from '~/layers/sample/components/WlComponentLayer.vue'
17+
</script>

0 commit comments

Comments
 (0)