SSR and SPA #18142
Unanswered
PiotrMigdal
asked this question in
CLI - SSR mode
SSR and SPA
#18142
Replies: 1 comment
-
|
Hi, example: and later in template i used v-if |
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
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I have built an SPA application with quasar. I am going to create a landing page and a few other subpages under separate layout as SSR. The pages won't require authentication. I need it for better SEO.
What is the best approach for it? Ideally I should create a separate project but my goal is to keep it simple for now and I was wondering if I can just add SSR under the same website domain. Is it possible and would this cause problems when I export to android? Obviously android version needs only SPA so all SSR routes and code need to be excluded.
Ive done so far preparation https://quasar.dev/quasar-cli-vite/developing-ssr/preparation. Surprisingly, when I compile SSR it gives me SPA application so I can imagine it doesn't render only code from src-ssr directory.
I am thinking to somehow split it in router like below. Please let me know if my thinking is right or there is other, better way.
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions