vite-ssg
Static site generation for Vue 3 on Vite (by antfu-collective)
vite-plugin-pages
File system based route generator for ⚡️Vite (by hannoeru)
vite-ssg | vite-plugin-pages | |
---|---|---|
9 | 14 | |
1,424 | 1,945 | |
2.0% | 1.3% | |
7.8 | 9.3 | |
about 1 month ago | 7 days ago | |
TypeScript | TypeScript | |
MIT License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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.
vite-ssg
Posts with mentions or reviews of vite-ssg.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-05-27.
-
From React to Vue
For SSG use - https://github.com/antfu/vite-ssg
-
Vue 3. How to generate a static website?
It is very simple. I had done similar task for many projects using https://github.com/antfu/vite-ssg
-
[ Request ] Library for building static pages inside vue app?
I use vite-ssg (https://github.com/antfu/vite-ssg) to generate static pages from my vue project.
- Vue or Nuxt for static website?
-
Best Vite-based SSG solution?
My company does a lot of static site generation/prerendering for our products. Our web stack is based on Vue.js v3 + Vite v3 + vite-sgg.
- alternative to nuxt.js?
-
[Discussion] What the hell is going on with Vuetify 3?
The above template has it via https://github.com/antfu/vite-ssg
-
Is Nuxt 3 ready for production? Is anyone using it?
SSG
-
Vue3: Render each route to an html page
I think what you're looking for is server side generation (SSG). This is what Gridsome is used for in vue but they have not yet updated to vue 3. You're essentially looking to generate a static site from a vue application. A quick Google suggests https://github.com/antfu/vite-ssg might work but I can't say I've ever tried it personally.
vite-plugin-pages
Posts with mentions or reviews of vite-plugin-pages.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-03-30.
-
Saw this on twitter last night 😂😂
vite-plugin-pages, auto generates routes for Vue components in the src/pages directory.
-
KitaJs Survey - No runtime code, fast as bare metal and top level framework.
References to compare with something at all: * https://github.com/samchon/typescript-json (input transformer) * https://github.com/trpc/trpc (state-of-the-art end-to-end api) * https://github.com/spa5k/fastify-file-routes * https://github.com/hannoeru/vite-plugin-pages (frontend file-based routing)
-
Anyone tried nuxt3 for blogging and monitizing it?
Its more natural fit / easier to use for blog site. https://github.com/hannoeru/vite-plugin-pages is good too
- alternative to nuxt.js?
-
Can using nuxt simplify build?
I'm not sure what Nuxt adds. The vite-plugin-pages, has removed the only usecase I had for nuxt.
-
File system based routing with webpack
The good news is that, similar needs have been solved in the vite community with https://github.com/hannoeru/vite-plugin-pages, we just need to port it to webpack and https://github.com/unjs/unplugin got our back.
- Jak przejść z Webpack (Vue CLI) na Vite?
-
I created a Nuxt 3 module that automatically type your routes names and params. More in comments
Thanks! I'll maybe work on some vite plugin to make it work here too since there are plugins like https://github.com/hannoeru/vite-plugin-pages
-
Add vite-plugin-pages to SolidJS
Since official SolidJS starter template are vite-based we can easily use vite-plugin-pages to create automatic routing a.k.a file based routing with official solid-app-router package.
-
Is Nuxt 3 ready for production? Is anyone using it?
File-based routing
What are some alternatives?
When comparing vite-ssg and vite-plugin-pages you can also consider the following projects:
prerender-spa-plugin - Prerenders static HTML in a single-page application.
unplugin-vue-components - 📲 On-demand components auto importing for Vue
core - A toolchain for building scalable, enterprise-ready component systems on top of TypeScript and Web Component standards. Stencil components can be distributed natively to React, Angular, Vue, and traditional web developers from a single, framework-agnostic codebase.
unplugin-auto-import - Auto import APIs on-demand for Vite, Webpack and Rollup
vite-ssr - Use Vite for server side rendering in Node
vite-plugin-vue-layouts - Vue layout plugin for Vite