default NextJS starter + clerk has no middleware.ts
Why ? is there a better way to guard page with convex?
1 Reply
No good reason, we're working on updating these templates. You can follow https://github.com/nutlope/notesgpt for an example of using middleware.ts and even preloading during SSR (although that's not required).
GitHub
GitHub - Nutlope/notesGPT: Record voice notes & transcribe, summari...
Record voice notes & transcribe, summarize, and get tasks - Nutlope/notesGPT