Matthew Gibbons

Results 4 comments of Matthew Gibbons

Thank you for taking time to consider this @Rich-Harris. Authorisation is my primary use case for adding optional `+hooks.server.js` to routes. I want to check a user's authorised scopes before...

Reflecting on your response - and just thinking about `handle` - if the hooks in your example were necessary, they would reside with `hooks.server.js` right now, and would be called...

@geoffrich this is a great start, and the snippets you have included are really helpful. My only caution is that getting a11y right requires a lot more thought, and I...

As @wiesson suggested, using `pnpx @tailwindcss/upgrade@next` works, but only if you're migrating from TailwindCSS 3.x. New SvelteKit projects are defaulting to using TailwindCSS 4.x. I was able to downgrade to...