clerk / remix-auth-starter

Add sign up, sign in, profile management, and authenticated API routes to your Remix application with the Remix Auth Starter by Clerk.

Home Page:https://clerk-remix-starter.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Not supported by Remix's RouterV2

k70suK3-k06a7ash1 opened this issue · comments

Hi

This template does not seem to be compatible with Remix's Routing system V2

The following modifications seem necessary

remix.config.js


/** @type {import('@remix-run/dev').AppConfig} */
module.exports = {
...
  future: {
    v2_dev: true,
    v2_errorBoundary: true,
    v2_headers: true,
    v2_meta: true,
    v2_normalizeFormMethod: true,
    v2_routeConvention: true,
  },
...
};

change file name

/app/routes/sign-up/$.tsx

/app/routes/sign-up.$.tsx

Try do like this
image
it works for me