Showing 404 error page in Vuejs

<template>
<div>
<center>
<h1>404 not found</h1>
<h2>it seems you're in the wrong page</h2>
</center>
</div>
</template>
import NotFoundPage from './compnents/NotFoundPage.vue{
path: '*',
component: NotFoundPage
}

 by the author.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store