- Added single school page

This commit is contained in:
Alexis
2020-06-14 21:20:21 +02:00
parent 5c6eca8e10
commit 9e0fb87d44
10 changed files with 97 additions and 31 deletions

View File

@@ -4,6 +4,7 @@
// Pages
import Index from "./pages/index-page";
import Spells from "./pages/spells-page";
import SchoolSingle from "./pages/schools/single-school-page";
import World from "./pages/world-page";
// Routes
@@ -17,6 +18,9 @@ const routes = [
{
path: '/spells', component: Spells,
},
{
path: '/school/:id', component: SchoolSingle, props: true
},
{
path: '/world', component: World,
}