0

A simple question. Is this possible with Vue 3 (and Vite preferably)?

Suppose we have 4 pages:

  • Home (/)
  • About (/about)
  • Pricing (/pricing)
  • Contact (/contact)

Is it possible, to prerender each one of these pages so if any one of them is accessed by a user/a crawler a HTML document is quickly returned, but along with a Vue 3 app that hydrates the current page and goes on working like any regular client-side app? So we can keep a highly dynamic UI with page transitions?

Essentially what I'm asking is, is it possible for all of the pages to serve as an entry point, not just index.html?

I tried looking into solutions like Nuxt.js's Universal rendering, however, I don't think it could be configured to work this way.

1

0

Your Answer

Reminder: Answers generated by Artificial Intelligence tools are not allowed on Stack Overflow. Learn more

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.