<script setup lang="ts">
import App from './App.vue';
import { NSpin, NMessageProvider, NDialogProvider } from 'naive-ui';
</script>

<template>
	<Suspense>
		<n-message-provider :closable="true" :duration="5000">
			<n-dialog-provider>
				<App />
			</n-dialog-provider>
		</n-message-provider>
		<template #fallback>
			<div><n-spin size="small" />Loading...</div>
		</template>
	</Suspense>
</template>
