Coder Social home page Coder Social logo

Comments (3)

freddy38510 avatar freddy38510 commented on June 19, 2024

Hi,

The term static is confusing. It's obvious, but if you disable javascript, you can't have dynamic interactions in your pages, like opening or closing the drawer. All of Vue's features and functionality will be useless.

In our case, SSG is just the pre-rendering of pages like SSR mode but at build time.
When you first load a page, the page is already rendered thanks to SSG. Then Vue hydrates it and your app now works like a SPA.

from quasar-app-extension-ssg.

algoz098 avatar algoz098 commented on June 19, 2024

I should phrase it better.
I thought it would generate the static HTML and also generate the JSONs to hydratate it after, as Vite SSG and Nuxt does, is this not expected?

If not, would this be a possible feature in the futere?

Thanks again

from quasar-app-extension-ssg.

freddy38510 avatar freddy38510 commented on June 19, 2024

Are you talking about the data which you might fetch at page or component level ?

Nuxt has a mechanism to fetch the data at server-side then cache them to be used at client-side.

If this is what you are talking about, it's funny because I was actually planning to implement this feature.

from quasar-app-extension-ssg.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.