SolidJSS
SolidJSโ€ข2y agoโ€ข
1 reply
Khaled

Issue with Solid JS Routing After Deployment

Hi everyone,

Today, I finished my project. However, when I tried to build and deploy it on Cloudflare/Vercel/AWS, I encountered an issue. During deployment, Solid JS doesn't route anything, and when I navigate to the login route, it doesn't display anything. This problem doesn't occur when I run the project locally; everything works as expected.

Does anyone have any idea what might be causing this?


        "solid-js": "^1.8.11" 

    return (
        <Router root={undefined}>
            <Route
                path="/"
                component={Register}
            />
            <Route
                path="/users"
                component={NotFound}
            />
        </Router>
    );
Was this page helpful?