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.
https://clerk-remix-starter.vercel.app
MIT License
38 stars 10 forks source link

Not supported by Remix's RouterV2 #12

Open k70suK3-k06a7ash1 opened 1 year ago

k70suK3-k06a7ash1 commented 1 year ago

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

smishnev commented 8 months ago

Try do like this image it works for me