mirror of
https://github.com/pure-admin/vue-pure-admin.git
synced 2025-06-09 01:47:20 +08:00
27 lines
480 B
Vue
27 lines
480 B
Vue
<template>
|
|
<div class="theme">
|
|
<h1>404</h1>
|
|
<blockquote>{{ getMsg() }}</blockquote>
|
|
<a :href="$site.base" aria-label="go to home">
|
|
Take me home.
|
|
</a>
|
|
</div>
|
|
</template>
|
|
|
|
<script>
|
|
const msgs = [
|
|
`There's nothing here.`,
|
|
`How did we get here?`,
|
|
`That's a Four-Oh-Four.`,
|
|
`Looks like we've got some broken links.`
|
|
]
|
|
|
|
export default {
|
|
setup: () => ({
|
|
getMsg() {
|
|
return msgs[Math.floor(Math.random() * msgs.length)]
|
|
}
|
|
})
|
|
}
|
|
</script>
|