Rename vue component for book form
This commit is contained in:
@@ -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 },
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user