- Added single school page
This commit is contained in:
@@ -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,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user