Tidy up paths

This commit is contained in:
NBTX
2019-08-24 18:01:57 +01:00
parent 424df8c1ae
commit d86b2c410f
2 changed files with 28 additions and 15 deletions

View File

@@ -4,7 +4,7 @@
<h2>{{ error.message }}</h2>
<br>
<p><nuxt-link to="/"><button>Go Home</button></nuxt-link></p>
<p><a href="/">Reload</a></p>
<p><a :href="base">Reload</a></p>
</div>
</template>
@@ -22,8 +22,17 @@
</style>
<script>
import { routerBase } from '../nuxt.config';
export default {
props: ['error'],
data () {
return {
base: routerBase.router.base
}
},
head () {
return {
bodyAttrs: {