import AuthorsLib from "./components/AuthorsLib";
import BookReader from "./components/BookReader";
import BooksLib   from "./components/BooksLib";

const routes = [
    { path: '', redirect: '/authors' },
    { path: '/authors', component: AuthorsLib },
    { path: '/books',   component: BooksLib },
    { path: '/book',    component: BookReader },
];

export default routes;
