|
On solid start, how we can wrap a provider, like in nextjs using file _app.tsx ?? |
Answered by
izznat
Oct 14, 2022
Replies: 2 comments 2 replies
|
Not familiar with this mechanism. What do you mean? |
1 reply
|
Try adding the |
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.tsxfile by wrapping the<Routes>component. That's the equivalent of_app.tsxfile from Next.js.