-
On solid start, how we can wrap a provider, like in nextjs using file _app.tsx ?? |
Beta Was this translation helpful? Give feedback.
Answered by
izznat
Oct 14, 2022
Replies: 2 comments 2 replies
-
Not familiar with this mechanism. What do you mean? |
Beta Was this translation helpful? Give feedback.
1 reply
-
Try adding the |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
nksaraf
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Try adding the
<Provider>
insidesrc/root.tsx
file by wrapping the<Routes>
component. That's the equivalent of_app.tsx
file from Next.js.