Julius_Java#00
WWasp
•Created by Julius_Java#00 on 5/2/2025 in #đŸ™‹questions
User Roles
My app currently has two different dashboard setup.
Member and provider, I'm thinking about how to handle the routing and redirection after Auth.
Should I have two different route group declarations for the roles or a single /dashboard route and then render content conditionally based on the roles.
If I have two different route group declarations, how do I handle the redirection to the respective routes after Auth.
For member home /dashboard/member
For provider home /dashboard/provider
Another example might be /dashboard/member/profile and /dashboard/provider/profile.
5 replies
WWasp
•Created by Julius_Java#00 on 5/2/2025 in #đŸ™‹questions
Layout in Wasp Client
How are layouts handled on the client side in wasp, do you have the root layout system like next Js or do you subscribe individual pages to layouts. I honestly prefer the latter.
6 replies
WWasp
•Created by Julius_Java#00 on 5/2/2025 in #đŸ™‹questions
Dynamic URL parameters in wasp routes
How can I read dynamic URL route parameters in wasp operations (queries/mutations)
9 replies
WWasp
•Created by Julius_Java#00 on 5/2/2025 in #đŸ™‹questions
Email Service Provider
Can I use resend instead of sendgrid for sending verification emails in my wasp app?
6 replies
WWasp
•Created by Julius_Java#00 on 5/1/2025 in #đŸ™‹questions
PNPM instead of NPM
Is there a way to instruct wasp to install dependencies with pnpm instead of npm
9 replies