1
0
mirror of https://github.com/zclzone/vue-naive-admin.git synced 2025-12-28 12:10:20 +08:00

feat: 集成unplugin-auto-import自动引入

This commit is contained in:
张传龙
2022-06-19 15:22:01 +08:00
parent ac9ccbadf0
commit 3990d4da80
18 changed files with 119 additions and 25 deletions

View File

@@ -9,9 +9,6 @@
</template>
<script setup>
import { ref } from 'vue'
import { useRouter } from 'vue-router'
import MdEditor from 'md-editor-v3'
import 'md-editor-v3/lib/style.css'

View File

@@ -17,8 +17,6 @@
</template>
<script setup>
import { ref, onBeforeMount } from 'vue'
import { useRouter } from 'vue-router'
import { usePostTable } from './usePostTable'
const router = useRouter()

View File

@@ -1,4 +1,4 @@
import { h, ref } from 'vue'
import { h } from 'vue'
import { NButton, NSwitch } from 'naive-ui'
import { getPosts } from '@/api/post'
import { formatDateTime } from '@/utils'