Giter Site home page Giter Site logo

Comments (3)

chrisvfritz avatar chrisvfritz commented on August 19, 2024 1

Happy to help. These problems actually wouldn't be solved by SSR though, so I can save you some time in that direction. 🙂

from prerender-spa-plugin.

chrisvfritz avatar chrisvfritz commented on August 19, 2024

I simply wouldn't prerender in your case. Vue's browser support is good enough (over 99%) according to caniuse.com's stats, so that any users with browsers that don't support Vue will already be accustomed to vast swaths of the Internet being broken for them. If you really do want to accommodate those users however, I'd either use modernizr or possibly just a <noscript> tag (for those with JS disabled) to show alternative HTML.

Or you could rework your site so that it doesn't use JS to calculate layout or control animations if that's the case. Then the pre-rendered result would already be perfect.

from prerender-spa-plugin.

francoislevesque avatar francoislevesque commented on August 19, 2024

Ok I see, thanks for the fast response by the way!
My main concern is actually SEO.
I'll try to use CSS instead of JS for layout as you proposed, and maybe take a look at SSR for future projects.

from prerender-spa-plugin.

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.