2016-11-07 01:34:58 +00:00
|
|
|
<template>
|
2016-11-07 19:57:44 +00:00
|
|
|
<div class="container">
|
2016-11-15 13:23:55 +00:00
|
|
|
<img src="~static/nuxt-black.png" />
|
2016-11-10 01:19:47 +00:00
|
|
|
<h2>Thank you for testing nuxt.js</h2>
|
2016-11-17 10:57:02 +00:00
|
|
|
<p>Loaded from the {{ name }}</p>
|
2016-11-10 01:19:47 +00:00
|
|
|
<p><router-link to="/">Back home</router-link></p>
|
2016-11-07 19:57:44 +00:00
|
|
|
</div>
|
2016-11-07 01:34:58 +00:00
|
|
|
</template>
|
2016-11-07 19:57:44 +00:00
|
|
|
|
2016-11-17 10:57:02 +00:00
|
|
|
<script>
|
|
|
|
export default {
|
|
|
|
data ({ req, error }) {
|
|
|
|
return {
|
|
|
|
name: req ? 'server' : 'client'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
|
2016-11-07 19:57:44 +00:00
|
|
|
<style scoped>
|
|
|
|
.container {
|
2016-11-10 01:19:47 +00:00
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
height: 100%;
|
|
|
|
width: 100%;
|
|
|
|
background: black;
|
|
|
|
color: white;
|
|
|
|
font-family: "Lucida Console", Monaco, monospace;
|
|
|
|
padding-top: 130px;
|
2016-11-07 19:57:44 +00:00
|
|
|
text-align: center;
|
|
|
|
}
|
2016-11-10 01:19:47 +00:00
|
|
|
a {
|
|
|
|
color: silver;
|
|
|
|
}
|
2016-11-07 19:57:44 +00:00
|
|
|
</style>
|