files linted, multiword-component rule turned off

This commit is contained in:
Nikita Krupin committed 2021-12-12 18:32:42 -05:00
1 parent 8de9dfc9df
commit c6b51561ca
12 files changed
+379 -311

No files matched your search

+14 -16
View File
@@ -6,35 +6,33 @@
<h1 v-else>
{{ otherError }}
</h1>
<NuxtLink to="/">
Home page
</NuxtLink>
<NuxtLink to="/"> Home page </NuxtLink>
</v-app>
</template>
<script>
export default {
layout: 'empty',
layout: "empty",
props: {
error: {
type: Object,
default: null
}
default: null,
},
},
data () {
data() {
return {
pageNotFound: '404 Not Found',
otherError: 'An error occurred'
}
pageNotFound: "404 Not Found",
otherError: "An error occurred",
};
},
head () {
head() {
const title =
this.error.statusCode === 404 ? this.pageNotFound : this.otherError
this.error.statusCode === 404 ? this.pageNotFound : this.otherError;
return {
title
}
}
}
title,
};
},
};
</script>
<style scoped>