fix build error

This commit is contained in:
liangping 2023-05-20 12:23:53 +08:00
parent 5aecf49daf
commit 56e488f6a4
5 changed files with 6 additions and 1 deletions

View File

@ -12,6 +12,7 @@ import { filterInputProps, makeVInputProps } from 'vuetify/lib/components/VInput
import { filterInputAttrs } from 'vuetify/lib/util/helpers'
import { useThemeConfig } from '@core/composable/useThemeConfig'
import { ref } from 'vue'
const props = defineProps({
...makeVInputProps({

View File

@ -1,6 +1,7 @@
import type { ThemeConfig, UserThemeConfig } from './types'
import { RouteTransitions, Skins } from '@core/enums'
import type { UserConfig as LayoutConfig } from '@layouts/types'
import { ref } from 'vue';
export const defineThemeConfig = (
userConfig: UserThemeConfig,

View File

@ -4,6 +4,7 @@ import { TransitionExpand, VerticalNavLink } from '@layouts/components'
import { themeConfig as config } from '@themeConfig'
import type { NavGroup } from '@layouts/types'
import { isNavGroupActive, openGroups } from '@layouts/utils'
import { ref } from 'vue'
const props = defineProps<{
item: NavGroup

View File

@ -1,8 +1,9 @@
import type { MaybeRef } from '@vueuse/shared'
import type { Ref } from 'vue'
import { computed, unref, type Ref, ref, watch } from 'vue'
import { AppContentLayoutNav, NavbarType } from '../enums'
import { themeConfig as config } from '@themeConfig'
import { injectionKeyIsVerticalNavHovered } from '@layouts'
import { useRoute } from 'vue-router'
export const useLayouts = () => {
const navbarType = computed({

View File

@ -1,5 +1,6 @@
import type { Router } from 'vue-router'
import type { NavGroup, NavLink, NavLinkProps } from '@layouts/types'
import { computed, ref } from 'vue'
export const openGroups = ref<string[]>([])