Add blogpost page and cell

This commit is contained in:
Kurt Hutten
2020-10-10 12:18:23 +11:00
parent 029d6f4efc
commit 1a8bea1b85
9 changed files with 108 additions and 1 deletions

View File

@@ -12,6 +12,7 @@ import { Router, Route } from '@redwoodjs/router'
const Routes = () => {
return (
<Router>
<Route path="/blog-post/{id:Int}" page={BlogPostPage} name="blogPost" />
<Route path="/posts/new" page={NewPostPage} name="newPost" />
<Route path="/posts/{id:Int}/edit" page={EditPostPage} name="editPost" />
<Route path="/posts/{id:Int}" page={PostPage} name="post" />