Skip to content

Commit dae28d0

Browse files
committed
Add republic
1 parent dc624a2 commit dae28d0

File tree

6 files changed

+474
-61
lines changed

6 files changed

+474
-61
lines changed

lib/app.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
import Republic, { route } from 'republic/next'
2+
import { LoadUserProfile } from './user/'
3+
4+
export default new Republic(
5+
route.page('/', 'users#profile', async () => {
6+
return await LoadUserProfile({ id: 'guid' })
7+
})
8+
)

0 commit comments

Comments
 (0)