Add title in error pages

This commit is contained in:
Sébastien Chopin 2016-11-19 22:48:06 +01:00
parent fa08596350
commit 218894295b
2 changed files with 14 additions and 4 deletions

View File

@ -13,7 +13,12 @@
<script>
export default {
props: ['error']
props: ['error'],
head () {
return {
title: this.error.message || 'An error occured'
}
}
}
</script>
@ -53,7 +58,7 @@ export default {
padding: 0px;
}
.error-link {
color: #42b983;
color: #00BCD4;
font-weight: normal;
text-decoration: none;
font-size: 14px;

View File

@ -12,7 +12,12 @@
<script>
export default {
props: ['error']
props: ['error'],
head () {
return {
title: this.error.message || 'An error occured'
}
}
}
</script>
@ -52,7 +57,7 @@ export default {
padding: 0px;
}
.error-link {
color: #42b983;
color: #00BCD4;
font-weight: normal;
text-decoration: none;
font-size: 14px;