score:0

you need to add a route to custom page in customroutes:

customroutes.js:

import react from 'react'
import { route } from 'react-router-dom'
import subscribe from 'your_path_to/subscribe'

const customroutes = [
  <route exact path="/subscribe" render={() => <subscribe />} />,
]
export default customroutes

Related Query

More Query from same tag