First implementation of fetching collections of book managed by user
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import { createRouter, createWebHistory } from 'vue-router'
|
||||
|
||||
import BooksBrowser from './BooksBrowser.vue'
|
||||
import CollectionsBrowser from './CollectionsBrowser.vue'
|
||||
import BookFormEdit from './BookFormEdit.vue'
|
||||
import AuthorForm from './AuthorForm.vue'
|
||||
import BookFormView from './BookFormView.vue'
|
||||
@@ -20,6 +21,7 @@ const routes = [
|
||||
{ path: '/books', component: BooksBrowser },
|
||||
{ path: '/book/:id', component: BookFormView, props: true },
|
||||
{ path: '/book/:id/edit', component: BookFormEdit, props: true },
|
||||
{ path: '/collections', component: CollectionsBrowser },
|
||||
{ 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