Rename vue component for book form

This commit is contained in:
2026-03-31 22:23:42 +02:00
parent 32d39cabcd
commit bcde39d51d
3 changed files with 4 additions and 4 deletions

View File

@@ -1,9 +1,9 @@
import { createRouter, createWebHistory } from 'vue-router'
import BooksBrowser from './BooksBrowser.vue'
import AddBook from './AddBook.vue'
import BookFormEdit from './BookFormEdit.vue'
import AuthorForm from './AuthorForm.vue'
import BookForm from './BookForm.vue'
import BookFormView from './BookFormView.vue'
import SignUp from './SignUp.vue'
import LogIn from './LogIn.vue'
import Home from './Home.vue'
@@ -18,11 +18,11 @@ const routes = [
{ path: '/scan', component: ScanBook },
{ path: '/browse', component: InstanceBrowser },
{ path: '/books', component: BooksBrowser },
{ path: '/book/:id', component: BookForm, props: true },
{ path: '/book/:id', component: BookFormView, props: true },
{ path: '/author/:id', component: AuthorForm, props: true },
{ path: '/search/:searchterm', component: SearchBook, props: true },
{ path: '/import/inventaire/:inventaireid', component: ImportInventaire, props: true },
{ path: '/add', component: AddBook },
{ path: '/add', component: BookFormEdit },
{ path: '/signup', component: SignUp },
{ path: '/login', component: LogIn },
]