Hi, just recently getting started with Remix. I'm running the very basic npx create-remix@latest with no changes. Trying to create my first route app/routes/register.tsx but no matter what I put in the file, I get a 404 Not Found error at the register endpoint. In the console however there's no errors. If I go elsewhere e.g /test I see the same thing in my browser, but I also get a clear error in the console that it's an unknown route. Currently my register.tsx file looks like this:
import type { MetaFunction } from "@remix-run/node";
export const meta: MetaFunction = () => {
return [
{ title: "Register" },
];
};
export default function Register() {
return <div>Register</div>;
}
Any ideas as to what the issue could be?