Second commit

added few test, first api to add book
This commit is contained in:
2025-09-23 17:16:48 +02:00
parent 0457ca2011
commit 8432902df1
19 changed files with 298 additions and 123 deletions

View File

@@ -1,4 +1,18 @@
import { createApp } from 'vue'
import { createRouter, createWebHistory } from 'vue-router'
import App from './App.vue'
import BooksBrowser from './BooksBrowser.vue'
import AddBook from './AddBook.vue'
createApp(App).mount('#app')
const routes = [
{ path: '/', component: BooksBrowser },
{ path: '/add', component: AddBook },
]
export const router = createRouter({
history: createWebHistory(),
routes,
})
createApp(App).use(router).mount('#app')