Nested routes don't work #3810
Unanswered
mademoiselle-sashaaa
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Trying to arrange routing for React app
Snowpack works for such routes as
localhost:8080/oauth2
But doesn't work for more nested one such as
localhost:8080/oauth2/autorization
I got this error

It tries to find
http://localhost:8080/oauth2/_dist_/index.js
which does not existAs far as I understand it should be looking for
http://localhost:8080/_dist_/index.js
So it looks like snowpack cannot resolve path to source file correctly(
My snowpack config:

So, what am I doing wrong? Is something incorrect in my current config? Or this is some kind of snowpack issue?
Beta Was this translation helpful? Give feedback.
All reactions