mirror of
https://github.com/ueberdosis/tiptap.git
synced 2025-06-07 17:43:49 +08:00

* fix: enforce type imports so that the bundler ignores types * chore: add changeset * fix: export types with export type keyword
18 lines
386 B
Vue
18 lines
386 B
Vue
<script setup lang="ts">
|
|
import './styles.scss'
|
|
|
|
import Note from './Note.vue'
|
|
import type { TNote } from './types.js'
|
|
|
|
const notes: TNote[] = [
|
|
{ id: 'note-1', content: 'Some random note text' },
|
|
{ id: 'note-2', content: 'Some really random note text' },
|
|
]
|
|
</script>
|
|
|
|
<template>
|
|
<template v-for="note in notes" :key="note.id">
|
|
<Note :note="note" />
|
|
</template>
|
|
</template>
|