Skip to content

Browser route not working from index.tsx file by npm run prod #145

Description

@snahasish89

Please provide the following information:

Operating system: Windows 10
Version of the template: 22.0.0

Below are the code for index.tsx

const container = document.getElementById("target")!;
const root = createRoot(container);
root.render(

<Suspense fallback={}>

<Route path='/' element={} />
<Route path="/login" element={}/>



);

Inside AuthCode.tsx, only one text box are there.

But no UI opening if I run npm run prod but it is running fine by npm run dev

Please suggest

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions