Nuxt/test/fixtures/basic/pages/index.vue

20 lines
356 B
Vue
Raw Normal View History

<template>
<div>
<Head>
<Title>Basic fixture</Title>
</Head>
<h1>Hello Nuxt 3!</h1>
2022-02-25 20:14:53 +00:00
<div>RuntimeConfig: {{ config.testConfig }}</div>
<div>{{ foo }}</div>
<div>{{ bar }}</div>
<CustomComponent />
</div>
</template>
<script setup>
2022-02-25 20:14:53 +00:00
const config = useRuntimeConfig()
const foo = useFoo()
const bar = useBar()
</script>