POC frontend setup w/ static data.
This commit is contained in:
15
frontend/routes.js
Normal file
15
frontend/routes.js
Normal file
@@ -0,0 +1,15 @@
|
||||
import LandingPage from '@/pages/LandingPage';
|
||||
import PostPage from '@/pages/PostPage';
|
||||
|
||||
const routes = [
|
||||
{
|
||||
path: "/",
|
||||
component: LandingPage
|
||||
},
|
||||
{
|
||||
path: "/post/:id",
|
||||
component: PostPage
|
||||
}
|
||||
]
|
||||
|
||||
export { routes };
|
||||
Reference in New Issue
Block a user