Fix Nuxt definePageMeta warning

pull/4683/head
Tuğçe Küçükoğlu 2023-10-24 16:01:43 +03:00
parent 695cec274e
commit 1caf7206e0
1 changed files with 5 additions and 4 deletions

View File

@ -13,10 +13,6 @@
</template> </template>
<script> <script>
definePageMeta({
layout: 'custom'
});
import EventBus from '@/layouts/AppEventBus'; import EventBus from '@/layouts/AppEventBus';
import AppNews from '@/layouts/AppNews'; import AppNews from '@/layouts/AppNews';
import AppTopBar from '@/layouts/AppTopBar.vue'; import AppTopBar from '@/layouts/AppTopBar.vue';
@ -29,6 +25,11 @@ import ThemeSection from './landing/ThemeSection';
import UsersSection from './landing/UsersSection'; import UsersSection from './landing/UsersSection';
export default { export default {
setup() {
definePageMeta({
layout: 'custom'
});
},
props: { props: {
theme: { theme: {
type: String, type: String,