Add a view to see all books in a collection
This commit is contained in:
@@ -2,6 +2,7 @@ import { createRouter, createWebHistory } from 'vue-router'
|
||||
|
||||
import BooksBrowser from './BooksBrowser.vue'
|
||||
import CollectionsBrowser from './CollectionsBrowser.vue'
|
||||
import CollectionForm from './CollectionForm.vue'
|
||||
import BookFormEdit from './BookFormEdit.vue'
|
||||
import AuthorForm from './AuthorForm.vue'
|
||||
import BookFormView from './BookFormView.vue'
|
||||
@@ -22,6 +23,7 @@ const routes = [
|
||||
{ path: '/book/:id', component: BookFormView, props: true },
|
||||
{ path: '/book/:id/edit', component: BookFormEdit, props: true },
|
||||
{ path: '/collections', component: CollectionsBrowser },
|
||||
{ path: '/collection/:id', component: CollectionForm, props: true },
|
||||
{ path: '/author/:id', component: AuthorForm, props: true },
|
||||
{ path: '/search/:searchterm', component: SearchBook, props: true },
|
||||
{ path: '/import/inventaire/:inventaireid', component: ImportInventaire, props: true },
|
||||
|
||||
Reference in New Issue
Block a user