prerender-spa-plugin
blog
Our great sponsors
prerender-spa-plugin | blog | |
---|---|---|
2 | 1 | |
7,272 | 1,588 | |
- | - | |
0.0 | 5.8 | |
about 1 year ago | 6 days ago | |
JavaScript | JavaScript | |
MIT License | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
prerender-spa-plugin
-
Vue3: Render each route to an html page
With Vue3, its possible to pre-render each page with `https://github.com/chrisvfritz/prerender-spa-plugin` However, I would like to render each page to an actual html file, so that `vue-router` will not be used, but instead the server will take care of serving each page. Is that possible?
-
SEO practice in SPA site
After investigation, the idea and the prerender-spa-plugin pre-rendering solution hit it off. The principle of the pre-rendering scheme can be seen in the following figure:
blog
-
SEO practice in SPA site
Take blog project structure as an example, the document structure is as follows:
What are some alternatives?
vite-ssg - Static site generation for Vue 3 on Vite
sghpa - Template for single page apps on Github Pages, via 404 meta redirect hack
vue-meta - Manage HTML metadata in Vue.js components with SSR support
delaunator - An incredibly fast JavaScript library for Delaunay triangulation of 2D points
react-refresh-webpack-plugin - A Webpack plugin to enable "Fast Refresh" (also previously known as Hot Reloading) for React components.
spa-github-pages - Host single page apps with GitHub Pages
Gatsby - The best React-based framework with performance, scalability and security built in.
epic-react-exercises - Practical React exercises with detailed solutions.
create-react-doc - 📝 Minimalistic React-powered static site generator.
prerender-spa-plugin - Prerenders static HTML in a single-page application.