Gridmix is a Vue.js powered Jamstack framework for building static generated websites & apps that are fast by default 🚀.
Name.vue file in src/pages is a static route.[param].vue file in src/pages is a dynamic route.Gridmix is a Jamstack framework. Jamstack lets you build fast and secure sites and apps delivered by pre-rendering files and serving them directly from a CDN, removing the requirement to manage or run web servers.
Learn more about the Jamstack.
Gridmix generates static html that hydrates into a Vue SPA once loaded in the browser. This means you can build both static websites & dynamic apps with Gridmix.
Gridmix builds one .html file and one .json file for every page. After first page load it only uses the .json files to prefetch and load data for the next pages. It also builds a .js bundle for each page that needs it (code splitting).
It uses vue-router for SPA routing, and vue-meta for managing <head>.
Gridmix adds a 57kB min gzip JS bundle size by default.(vue.js, vue-router, vue-meta and some for image lazy loading).
Learn more about how it works.
You should have basic knowledge about HTML, CSS, Vue.js and how to use the Terminal. Knowing how GraphQL works is a plus, but not required. Gridmix is a great way to learn it.
Gridmix requires Node.js (v22.18+) and recommends pnpm.
yarn global add @gridmix/clinpm install --global @gridmix/cligridmix create my-gridmix-site to create a new project cd my-gridmix-site to move into project directorygridmix develop to start local dev server at http://localhost:8080.vue components in the src/pages directory to create page routes.gridmix build to generate static files in a /dist folder👋 Stay in the loop. Subscribe to Gridmix newsletter!
VuePress. Another static site generator for Vue.js. It uses local markdown files for content and is perfect for documentation sites. It is possible to build anything in VuePress and Markdown (Like a blog f.ex).
Nuxt. A Universal Vue.js Framework for server-side rendered (SSR) apps and websites. It also has a static site generator feature, but the main focus is SSR.
Gatsby.js Gridmix is highly inspired by Gatsby.js (React.js based), which collects data sources and generates a static site from it. Gridmix is an alternative for Gatsby.js.