How to set persistent layout in <script setup>? #1164
Unanswered
sarukomine
asked this question in
Help (Vue)
Replies: 1 comment 1 reply
-
You could use this plugin sxzz/unplugin-vue-define-options. After you installed it, you can use <script setup>
import AppLayout from '@/Layouts/AppLayout',
defineOptions({
layout: AppLayout
});
</script> |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
how to set persistent layout in
<script setup>
?Beta Was this translation helpful? Give feedback.
All reactions