mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-14 10:04:05 +00:00
790a54897a
Co-authored-by: Sébastien Chopin <seb@nuxtjs.com>
19 lines
384 B
Vue
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>
|