WIP: added empty search bar and search component

This commit is contained in:
2025-10-10 13:59:59 +02:00
parent d6b19e531e
commit 4ac0f5aedf
6 changed files with 46 additions and 7 deletions

View File

@@ -5,11 +5,13 @@ import AddBook from './AddBook.vue'
import SignUp from './SignUp.vue'
import LogIn from './LogIn.vue'
import Home from './Home.vue'
import SearchBook from './SearchBook.vue'
import { useAuthStore } from './auth.store'
const routes = [
{ path: '/', component: Home },
{ path: '/books', component: BooksBrowser },
{ path: '/search/:searchterm', component: SearchBook, props: true },
{ path: '/add', component: AddBook },
{ path: '/signup', component: SignUp },
{ path: '/login', component: LogIn },