Skip to content

Making a blog

December 7, 2021


Intro

This is really just a test, there are plenty of good resources on how to create a blog using Gridsome.

Setup

The quick version is to just use a starter project, but lets do an overview of some things anyway.

Start a new Gridsome project by using gridsome create my-gridsome-blog.

You'll be needing a page to show a list of your blog posts, here we'll query out blog posts. Then a template to show each post individually, here we'll query specific individual posts.

To be able to query your blog posts from a local source, you'll need to use the source plugin. I've setup this blog to use markdown, you can choose a different configuration though.

This is a Vue project that uses VitePress.