mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-26 23:52:06 +00:00
94261349dc
Co-authored-by: Pooya Parsa <pooya@pi0.io>
14 lines
285 B
Vue
14 lines
285 B
Vue
<script setup>
|
|
const config = useAppConfig()
|
|
</script>
|
|
|
|
<template>
|
|
<NuxtExampleLayout example="app-config">
|
|
<h1>{{ config.title }}</h1>
|
|
<p>{{ config.description }}</p>
|
|
<button v-if="config.showButton">
|
|
I am a button
|
|
</button>
|
|
</NuxtExampleLayout>
|
|
</template>
|