mirror of
				https://github.com/strapi/strapi.git
				synced 2025-10-31 09:56:44 +00:00 
			
		
		
		
	
		
			
	
	
		
			27 lines
		
	
	
		
			500 B
		
	
	
	
		
			Vue
		
	
	
	
	
	
		
		
			
		
	
	
			27 lines
		
	
	
		
			500 B
		
	
	
	
		
			Vue
		
	
	
	
	
	
|   | <template> | ||
|  |   <div class="theme-container"> | ||
|  |     <div class="content"> | ||
|  |       <h1>404</h1> | ||
|  |       <blockquote>{{ getMsg() }}</blockquote> | ||
|  |       <router-link to="/">Take me home.</router-link> | ||
|  |     </div> | ||
|  |   </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 { | ||
|  |   methods: { | ||
|  |     getMsg () { | ||
|  |       return msgs[Math.floor(Math.random() * msgs.length)] | ||
|  |     } | ||
|  |   } | ||
|  | } | ||
|  | </script> |