Skip to content

Persistent layout with Vue 3.2 setup script #873

Answered by ajnsn
ibrunotome asked this question in Help (Vue)
Discussion options

You must be logged in to vote

@ibrunotome Vue Docs: <script setup> can be used alongside normal <script>, this should work?

<script>
export default {
  layout: Layout,
}
</script>

<script setup>
...
</script>

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ibrunotome
Comment options

Answer selected by ibrunotome
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants