2021-04-23 19:52:32 +00:00
|
|
|
<template>
|
2021-10-02 20:30:20 +00:00
|
|
|
<div>
|
2022-02-14 10:46:27 +00:00
|
|
|
<Head>
|
|
|
|
<Title>Basic fixture</Title>
|
|
|
|
</Head>
|
2022-02-18 18:14:57 +00:00
|
|
|
<h1>Hello Nuxt 3!</h1>
|
2022-03-08 18:03:21 +00:00
|
|
|
<div>RuntimeConfig | testConfig: {{ config.testConfig }}</div>
|
|
|
|
<div>Composable | foo: {{ foo }}</div>
|
|
|
|
<div>Composable | bar: {{ bar }}</div>
|
|
|
|
<div>Plugin | myPlugin: {{ $myPlugin() }}</div>
|
2022-02-17 14:23:55 +00:00
|
|
|
<CustomComponent />
|
2021-10-02 20:30:20 +00:00
|
|
|
</div>
|
2021-04-23 19:52:32 +00:00
|
|
|
</template>
|
2021-10-02 20:30:20 +00:00
|
|
|
|
|
|
|
<script setup>
|
2022-02-25 20:14:53 +00:00
|
|
|
const config = useRuntimeConfig()
|
|
|
|
|
|
|
|
const foo = useFoo()
|
|
|
|
const bar = useBar()
|
2021-10-02 20:30:20 +00:00
|
|
|
</script>
|