-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Introduce sample layer component and experiment page
- Loading branch information
Showing
4 changed files
with
27 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<template> | ||
<div>Component from the <code>sample</code> layer.</div> | ||
</template> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
export default defineNuxtConfig({ | ||
// Empty config for this layer. | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<template> | ||
<NuxtLayout name="home"> | ||
<WlContainer class="flex flex-col gap-3 p-3"> | ||
<h1 class="text-xl">Layers</h1> | ||
<p>A component from the <code>sample</code> layer:</p> | ||
<WlExperimentCanvas> | ||
<WlComponentLayer/> | ||
</WlExperimentCanvas> | ||
</WlContainer> | ||
</NuxtLayout> | ||
</template> | ||
|
||
<script lang="ts" setup> | ||
import WlExperimentCanvas from '~/components/shared/experiments/WlExperimentCanvas.vue' | ||
import WlContainer from '~/components/shared/layout/WlContainer.vue' | ||
import WlComponentLayer from '~/layers/sample/components/WlComponentLayer.vue' | ||
</script> |