mirror of
https://github.com/jekip/naive-ui-admin.git
synced 2026-02-15 10:42:28 +08:00
更新0.1.1版本
This commit is contained in:
25
src/components/Application/Application.vue
Normal file
25
src/components/Application/Application.vue
Normal file
@@ -0,0 +1,25 @@
|
||||
<template>
|
||||
<n-dialog-provider>
|
||||
<DialogContent/>
|
||||
<n-notification-provider>
|
||||
<n-message-provider>
|
||||
<MessageContent/>
|
||||
<slot slot="default"></slot>
|
||||
</n-message-provider>
|
||||
</n-notification-provider>
|
||||
</n-dialog-provider>
|
||||
</template>
|
||||
|
||||
<script lang="ts">
|
||||
import { defineComponent, computed, ref, onMounted, onUnmounted } from 'vue'
|
||||
import { MessageContent } from '@/components/MessageContent'
|
||||
import { DialogContent } from '@/components/DialogContent'
|
||||
|
||||
export default defineComponent({
|
||||
name: 'Application',
|
||||
components: { MessageContent, DialogContent },
|
||||
setup() {
|
||||
return {}
|
||||
}
|
||||
})
|
||||
</script>
|
||||
3
src/components/Application/index.ts
Normal file
3
src/components/Application/index.ts
Normal file
@@ -0,0 +1,3 @@
|
||||
import AppProvider from './Application.vue'
|
||||
|
||||
export { AppProvider }
|
||||
Reference in New Issue
Block a user