18 lines
257 B
JavaScript
18 lines
257 B
JavaScript
// App router
|
|
|
|
|
|
// Pages
|
|
import index from "./pages/index";
|
|
import spells from "./pages/spells";
|
|
|
|
// Routes
|
|
const routes = [
|
|
{
|
|
path: '/', component: index,
|
|
},
|
|
{
|
|
path: '/spells', component: spells,
|
|
}
|
|
];
|
|
|
|
export default routes; |