init
This commit is contained in:
19
app/app.vue
Normal file
19
app/app.vue
Normal file
@@ -0,0 +1,19 @@
|
||||
<template>
|
||||
<NuxtLayout>
|
||||
<NuxtPage />
|
||||
</NuxtLayout>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import type {Editor} from "@tiptap/vue-3";
|
||||
import {EDITOR_KEY} from "~/shared/constants";
|
||||
|
||||
const editor = ref<Editor | null>(null)
|
||||
|
||||
|
||||
provide(EDITOR_KEY, editor)
|
||||
</script>
|
||||
|
||||
<style lang="scss">
|
||||
@use 'assets/styles/index';
|
||||
</style>
|
||||
Reference in New Issue
Block a user