docs: move examples dir out of components dir

This commit is contained in:
braks
2023-12-12 22:33:47 +01:00
committed by Braks
parent 7ba258c53b
commit bb2bf72012
89 changed files with 20 additions and 34 deletions
+17
View File
@@ -0,0 +1,17 @@
<script lang="ts" setup>
import sdk from '@stackblitz/sdk'
const el = ref<HTMLDivElement>()
onMounted(() => {
sdk.embedProjectId(el.value!, 'vitejs-vite-ujrwcm', {
forceEmbedLayout: true,
openFile: 'src/App.vue',
height: 750,
})
})
</script>
<template>
<div ref="el" class="outline-none"></div>
</template>