fix: 引入 naiveui NCountdown 组件

This commit is contained in:
tnt group 2022-09-29 15:21:04 +08:00
parent daa6458a26
commit db8fd7582b

View File

@ -1,4 +1,4 @@
import type { App } from 'vue';
import type { App } from 'vue'
import {
create,
NA,
@ -8,6 +8,7 @@ import {
NH3,
NH4,
NCode,
NCountdown,
NText,
NTime,
NEllipsis,
@ -98,7 +99,7 @@ import {
NWatermark,
NEmpty,
NCollapseTransition
} from 'naive-ui';
} from 'naive-ui'
const naive = create({
components: [
@ -109,6 +110,7 @@ const naive = create({
NH3,
NH4,
NCode,
NCountdown,
NText,
NTime,
NEllipsis,
@ -199,9 +201,9 @@ const naive = create({
NWatermark,
NEmpty,
NCollapseTransition
],
});
]
})
export function setupNaive(app: App<Element>) {
app.use(naive);
app.use(naive)
}