Replies: 0 comments 1 reply
-
For For |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have following Problem. I want to server a Static robots.txt via React Router 6 but cant find a working way for it. The site stays empty. Here my router structure:
`function router(user) {
return createBrowserRouter(
createRoutesFromElements(
<>
<Route
path="/"
exact
element={
<React.Suspense fallback={}>
</React.Suspense>
}
errorElement={}
>
<Route
index
element={
<React.Suspense fallback={}>
</React.Suspense>
}
/>
}`
I hope you can help me with my Problem.
Beta Was this translation helpful? Give feedback.
All reactions