+ Added app router and index/spell pages

This commit is contained in:
Alexis
2020-03-12 19:03:28 +01:00
parent 28a2bf7090
commit d7a432527b
13 changed files with 205 additions and 72 deletions

18
src/routes.js Normal file
View File

@@ -0,0 +1,18 @@
// 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;