Skip to content

Commit fc75765

Browse files
committed
feat(playground): add tiny forge ui
1 parent 8fa66f9 commit fc75765

File tree

4 files changed

+19
-4
lines changed

4 files changed

+19
-4
lines changed

packages/library/src/index.ts

+5-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,5 @@
1-
export * from './avatar/ForgeAvatar.vue'
1+
import ForgeAvatar from './avatar/ForgeAvatar.vue'
2+
3+
export {
4+
ForgeAvatar
5+
}

packages/playground/app.vue

+9-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
1+
<script setup lang="ts">
2+
import { ForgeAvatar } from 'tiny-forge-ui'
3+
</script>
4+
15
<template>
26
<div>
3-
<NuxtRouteAnnouncer />
4-
<NuxtWelcome />
7+
<ForgeAvatar
8+
name="Sybren Willemot"
9+
src="https://avatars.githubusercontent.com/u/16015740?v=4"
10+
@status-change="(e) => console.log(e.status)"
11+
/>
512
</div>
613
</template>

packages/playground/package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
"dependencies": {
1313
"nuxt": "^3.14.159",
1414
"vue": "latest",
15-
"vue-router": "latest"
15+
"vue-router": "latest",
16+
"tiny-forge-ui": "workspace:^"
1617
}
1718
}

pnpm-lock.yaml

+3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)