Routing with SSR #15089
Unanswered
daniel-dpsi
asked this question in
CLI - SSR mode
Routing with SSR
#15089
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.
-
Hello everyone,
I'm trying to build an SSR application and it works however the routes do not get transfered and I cannot access the files in "www" unless I pull all the files in the "www" folder to "dist/ssr" directly.
I am trying to access (url).com/list which I have defined in the "src" in the regular project but once I click on the navigation bar to go to that one it returns an error not found and those files in the "www" folder which are supposed to be my routes just in regular .js now are all renamed to some weird numbers and symbols which upon opening I see they contain info about those routes I have but aren't rendering anything when access through /list
Kinda stuck here for some time now do I have to define routes somewhere else or am I missing something?

Original compile (quasar build -m ssr) -> does not find components, its trying to access them from (url).com/js/ but they are in /www/js

Modified manually (all files relocated to dist/ssr/ from "www") -> renders the first page however still unable to access other routes like /list etc. by going to (url).com/list

Unable to find anything regarding this^ if u have any idea i'd be happy to hear it and thanks.
Beta Was this translation helpful? Give feedback.
All reactions