: rotating_light: Lint

This commit is contained in:
Liyas Thomas
2019-10-25 13:44:34 +05:30
parent 96adfa0b5a
commit a09d7d76d3
35 changed files with 3133 additions and 2620 deletions

View File

@@ -1,10 +1,16 @@
<template>
<div class="page page-error">
<img src="~static/icons/error.svg" alt="Error" class="error_banner">
<img src="~static/icons/error.svg" alt="Error" class="error_banner" />
<h2>{{ error.statusCode }}</h2>
<h3>{{ error.message }}</h3>
<p><nuxt-link to="/"><button>Go Home</button></nuxt-link></p>
<p><a href="" @click.prevent="reloadApplication">Reload</a></p>
<p>
<nuxt-link to="/">
<button>Go Home</button>
</nuxt-link>
</p>
<p>
<a href @click.prevent="reloadApplication">Reload</a>
</p>
</div>
</template>
@@ -25,20 +31,20 @@
<script>
export default {
props: ['error'],
props: ["error"],
methods: {
reloadApplication () {
this.$router.push('/', () => window.location.reload());
}
},
head () {
return {
bodyAttrs: {
class: 'sticky-footer'
}
}
methods: {
reloadApplication() {
this.$router.push("/", () => window.location.reload());
}
}
},
head() {
return {
bodyAttrs: {
class: "sticky-footer"
}
};
}
};
</script>