1 | <template>
|
2 | <div class="theme-container">
|
3 | <div class="theme-default-content">
|
4 | <h1>404</h1>
|
5 |
|
6 | <blockquote>{{ getMsg() }}</blockquote>
|
7 |
|
8 | <RouterLink to="/">
|
9 | Take me home.
|
10 | </RouterLink>
|
11 | </div>
|
12 | </div>
|
13 | </template>
|
14 |
|
15 | <script>
|
16 | const msgs = [
|
17 | `There's nothing here.`,
|
18 | `How did we get here?`,
|
19 | `That's a Four-Oh-Four.`,
|
20 | `Looks like we've got some broken links.`
|
21 | ]
|
22 |
|
23 | export default {
|
24 | methods: {
|
25 | getMsg () {
|
26 | return msgs[Math.floor(Math.random() * msgs.length)]
|
27 | }
|
28 | }
|
29 | }
|
30 | </script>
|