Add NotFound.vue #48 #50

Merged
jakob.scheid merged 22 commits from feature/not-found-page into main 2026-05-14 16:21:30 +02:00
Showing only changes of commit 25958bf7bb - Show all commits
+7 -6
View File
@@ -17,18 +17,19 @@ limitations under the License.
import { createRouter, createWebHistory } from 'vue-router'
import SearchView from '../views/SearchView.vue'
import NotFound from '../views/NotFound.vue'
const routes = [
{
path: '/',
name: 'search',
component: SearchView
}
},
{
path: '/:pathMatch(.*)*',
name: 'not-found',
component: NotFound
},
]
const router = createRouter({
history: createWebHistory(),
routes
})
export default router