Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
13 additions
and
80 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,87 +1,20 @@ | ||
<template> | ||
<v-row justify="center" align="center"> | ||
<v-col cols="12" sm="8" md="6"> | ||
<v-card class="logo py-4 d-flex justify-center"> | ||
<NuxtLogo /> | ||
<VuetifyLogo /> | ||
</v-card> | ||
<v-card> | ||
<v-card-title class="headline"> | ||
Welcome to the Vuetify + Nuxt.js template | ||
</v-card-title> | ||
<v-card-text> | ||
<p> | ||
Vuetify is a progressive Material Design component framework for | ||
Vue.js. It was designed to empower developers to create amazing | ||
applications. | ||
</p> | ||
<p> | ||
For more information on Vuetify, check out the | ||
<a | ||
href="https://vuetifyjs.com" | ||
target="_blank" | ||
rel="noopener noreferrer" | ||
> | ||
documentation </a | ||
>. | ||
</p> | ||
<p> | ||
If you have questions, please join the official | ||
<a | ||
href="https://chat.vuetifyjs.com/" | ||
target="_blank" | ||
rel="noopener noreferrer" | ||
title="chat" | ||
> | ||
discord </a | ||
>. | ||
</p> | ||
<p> | ||
Find a bug? Report it on the github | ||
<a | ||
href="https://github.com/vuetifyjs/vuetify/issues" | ||
target="_blank" | ||
rel="noopener noreferrer" | ||
title="contribute" | ||
> | ||
issue board </a | ||
>. | ||
</p> | ||
<p> | ||
Thank you for developing with Vuetify and I look forward to bringing | ||
more exciting features in the future. | ||
</p> | ||
<div class="text-xs-right"> | ||
<em><small>— John Leider</small></em> | ||
</div> | ||
<hr class="my-3" /> | ||
<a | ||
href="https://nuxtjs.org/" | ||
target="_blank" | ||
rel="noopener noreferrer" | ||
> | ||
Nuxt Documentation | ||
</a> | ||
<br /> | ||
<a | ||
href="https://github.com/nuxt/nuxt.js" | ||
target="_blank" | ||
rel="noopener noreferrer" | ||
> | ||
Nuxt GitHub | ||
</a> | ||
</v-card-text> | ||
<v-card-actions> | ||
<v-spacer /> | ||
<v-btn color="primary" nuxt to="/inspire"> Continue </v-btn> | ||
</v-card-actions> | ||
</v-card> | ||
</v-col> | ||
</v-row> | ||
<div> | ||
<h1>ページ一覧</h1> | ||
<ul> | ||
<li v-for="page in pages" :key="page"> | ||
<nuxt-link :to="`/${page}`">{{ page }}</nuxt-link> | ||
</li> | ||
</ul> | ||
</div> | ||
</template> | ||
|
||
<script> | ||
export default { | ||
name: 'IndexPage', | ||
async asyncData({ $axios }) { | ||
// staticディレクトリ内のpages.jsonを読み込む | ||
const pages = await $axios.$get('/pages.json') | ||
return { pages } | ||
}, | ||
} | ||
</script> |