⚡️ The Jamstack framework for Vue.js
Gridsome is a Vue-powered static site generator for building CDN-ready websites for any headless CMS, local files or APIs
This project is under active development. Any feedback or contributions would be appreciated.
Build websites with modern tools like Vue.js, webpack and Node.js. Get hot-reloading and access to any packages from npm and write CSS in your favorite preprocessor like Sass or Less with auto-prefixing.
Use any CMS or data source for content. Pull data from WordPress, Contentful, local Markdown, or any other headless CMS or APIs and access it with GraphQL in your pages and components.
Gridsome automatically optimizes your frontend to load and perform blazing fast. You get code-splitting, image optimization, lazy-loading, and almost perfect lighthouse scores out-of-the-box.
Gridsome sites are usually not connected to any database and can be hosted entirely on a global CDN. It can handle thousands to millions of hits without breaking - and no expensive server costs.
npm install --global @gridsome/cli
yarn global add @gridsome/cli
pnpm install --global @gridsome/cli
gridsome create my-gridsome-siteto create a new project
cd my-gridsome-siteto open the folder
gridsome developto start a local dev server at
.vuecomponents in the
./src/pagesdirectory to create pages
gridsome buildto generate static files in a
Make sure your test project has a version number in its
package.jsonif you use an existing project.
To use the local version of
@gridsome/clias the global command, enter the
./packages/clifolder and run
Yarn will add dependencies from your test projects to the root
yarn.lockfile. So you should not commit changes in that file unless you have added dependencies to any of the core packages. If you need to commit it, remove your projects from the
./projectsfolder temporary and run
yarn installin the root folder. Yarn will then clean up the lock file with only necessary dependencies. Commit the file and move your projects back and run
yarn installagain to start developing.
In the interest of fostering an open and welcoming environment please read and follow our Code of Conduct.
Licensed under the MIT License.
Visit the Gridsome Roadmap to keep track of which features we are currently working on.