mirror of
https://github.com/soybeanjs/soybean-admin.git
synced 2025-12-26 15:00:16 +08:00
feat(projects): 新增主题配置
This commit is contained in:
17
src/components/common/NaiveApp/NaiveContent.vue
Normal file
17
src/components/common/NaiveApp/NaiveContent.vue
Normal file
@@ -0,0 +1,17 @@
|
||||
<template>
|
||||
<div></div>
|
||||
</template>
|
||||
|
||||
<script lang="ts" setup>
|
||||
import { useLoadingBar, useDialog, useMessage, useNotification } from 'naive-ui';
|
||||
|
||||
function registerNaiveTool() {
|
||||
window.$loadingBar = useLoadingBar();
|
||||
window.$dialog = useDialog();
|
||||
window.$message = useMessage();
|
||||
window.$notification = useNotification();
|
||||
}
|
||||
|
||||
registerNaiveTool();
|
||||
</script>
|
||||
<style scoped></style>
|
||||
Reference in New Issue
Block a user