prerender-spa-plugin
create-react-doc
Our great sponsors
prerender-spa-plugin | create-react-doc | |
---|---|---|
2 | 1 | |
7,272 | 178 | |
- | - | |
0.0 | 2.4 | |
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:
create-react-doc
-
SEO practice in SPA site
After the above analysis of the SSG scheme, at this time the key to optimization of the SPA site is already on paper —— static routing. Compared with frameworks such as nuxt and Gatsby, which have the limitation of conventional routing, create-react-doc has flexible and free organization in the directory structure. Its website building concept is File is Site, and it is also very convenient to migrate existing markdown documents.
What are some alternatives?
vite-ssg - Static site generation for Vue 3 on Vite
leetcode-rating-predictor - Leetcode Rating Predictor built with Node. Browser extension and web interface.
vue-meta - Manage HTML metadata in Vue.js components with SSR support
prerender-spa-plugin - Prerenders static HTML in a single-page application.
react-refresh-webpack-plugin - A Webpack plugin to enable "Fast Refresh" (also previously known as Hot Reloading) for React components.
sghpa - Template for single page apps on Github Pages, via 404 meta redirect hack
Gatsby - The best React-based framework with performance, scalability and security built in.
blog - Life is a moment :notebook_with_decorative_cover:
spa-github-pages - Host single page apps with GitHub Pages
slc.is - personal site