mirror of
https://github.com/nuxt/nuxt.git
synced 2024-12-01 01:47:11 +00:00
18 lines
534 B
Vue
18 lines
534 B
Vue
|
<template>
|
||
|
<div>
|
||
|
<h2 class="mb-4 text-blue">Homepage</h2>
|
||
|
<p class="mb-4 bg-grey-light p-4 text-sm rounded leading-normal">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed ut dolor placerat enim suscipit porttitor et sodales orci. In eget lorem a odio rhoncus finibus vel quis ex. Donec varius nisl ligula, vel finibus velit dignissim in.</p>
|
||
|
<my-component />
|
||
|
</div>
|
||
|
</template>
|
||
|
|
||
|
<script>
|
||
|
import MyComponent from '~/components/MyComponent'
|
||
|
|
||
|
export default {
|
||
|
components: {
|
||
|
MyComponent
|
||
|
}
|
||
|
}
|
||
|
</script>
|