mirror of https://github.com/nocodb/nocodb
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
417 B
18 lines
417 B
2 years ago
|
<script setup lang="ts">
|
||
2 years ago
|
import { computed, provideTheme, useRoute } from '#imports'
|
||
2 years ago
|
|
||
2 years ago
|
const route = useRoute()
|
||
|
|
||
2 years ago
|
const disableBaseLayout = computed(() => route.path.startsWith('/nc/view') || route.path.startsWith('/nc/form'))
|
||
|
|
||
2 years ago
|
provideTheme()
|
||
2 years ago
|
</script>
|
||
|
|
||
3 years ago
|
<template>
|
||
2 years ago
|
<a-config-provider>
|
||
|
<NuxtLayout :name="disableBaseLayout ? false : 'base'">
|
||
|
<NuxtPage />
|
||
|
</NuxtLayout>
|
||
|
</a-config-provider>
|
||
3 years ago
|
</template>
|