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.

hexrw
  • 39
  • 5

0 Answers0