Nuxt/examples/config-extends/app.vue
pooya parsa 790a54897a
feat!(nuxt3): extends support for components/ directory (#3108)
Co-authored-by: Sébastien Chopin <seb@nuxtjs.com>
2022-02-07 21:48:25 +01:00

19 lines
384 B
Vue

<script setup>
const themeConfig = useRuntimeConfig().theme
</script>
<template>
<NuxtExampleLayout example="config-extends">
theme runtimeConfig
<pre>{{ JSON.stringify(themeConfig, null, 2) }}</pre>
<BaseButton>Base Button</BaseButton>
<FancyButton>Fancy Button</FancyButton>
</NuxtExampleLayout>
</template>
<style scoped>
pre {
text-align: left;
}
</style>