feat: auth plugin

This commit is contained in:
Rafi
2023-02-21 21:27:00 +08:00
parent 3c7d45154e
commit eb7f062144
7 changed files with 275 additions and 8 deletions

View File

@@ -1,4 +1,7 @@
<script setup>
definePageMeta({
middleware: ["auth"]
})
import {EventStreamContentType, fetchEventSource} from '@microsoft/fetch-event-source'
const { $i18n } = useNuxtApp()