<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>
