mirror of
https://github.com/maciejpedzich/spotifyplaylistarchive.com.git
synced 2024-09-20 18:36:19 +02:00
Set up page routing
This commit is contained in:
parent
5ea03b34bf
commit
c59f1e00a1
14
app.vue
14
app.vue
@ -1,3 +1,15 @@
|
||||
<script setup lang="ts">
|
||||
import Toast from 'primevue/toast';
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<h1>Hello World!</h1>
|
||||
<div class="w-full h-full flex flex-column">
|
||||
<NavBar />
|
||||
<main class="flex-1">
|
||||
<NuxtPage />
|
||||
</main>
|
||||
<ClientOnly>
|
||||
<Toast position="bottom-right" />
|
||||
</ClientOnly>
|
||||
</div>
|
||||
</template>
|
||||
|
7
layouts/centered-content.vue
Normal file
7
layouts/centered-content.vue
Normal file
@ -0,0 +1,7 @@
|
||||
<template>
|
||||
<div
|
||||
class="w-full h-full flex flex-column justify-content-center align-items-center text-center"
|
||||
>
|
||||
<slot></slot>
|
||||
</div>
|
||||
</template>
|
5
pages/index.vue
Normal file
5
pages/index.vue
Normal file
@ -0,0 +1,5 @@
|
||||
<template>
|
||||
<NuxtLayout name="centered-content">
|
||||
<div class="font-bold text-6xl">Spotify Playlist Archive</div>
|
||||
</NuxtLayout>
|
||||
</template>
|
Loading…
Reference in New Issue
Block a user