<BrowserRouter>
<Switch>
<Route
exact
path="/"
component={EmailVerification}
/>
<Route exact path={urlConfig.cashback} component={Cashback} />
<Route
exact
path={urlConfig.emailVerificationFailure}
component={EmailVerification}
/>
</Switch>
</BrowserRouter>
This is my routes. When I am using react-snap post build, only the first route gets crawled, not the other routes.
This is my package.json
"reactSnap": {
"inlineCss": true,
"fixWebpackChunksIssue": false
}
Can anyone let me know what could be the issue?