Getting Started with Gridsome

Getting Started with Gridsome

Learn about Gridsome, a Jamstack framework for Vue.js. This static site generator (SSG) has all the speed and efficiency you need to build modern, efficient websites. Learn how to fetch markdown content with GraphQL.

Gridsome is a Jamstack framework for Vue.js that's growing in popularity among SSGs for its speed and efficiency.

Whenever you are running into performance issues with your single-page applications, you might consider using a static site generator to offload some performance overhead. There are hundreds of static site generators out there, and Gridsome is one of the most popular with over 7000 stars on Github. Gridsome is certainly worth a detailed look, so let’s get started.

Introduction

In this article, we will be taking a closer look at Gridsome: how it works, how to get started, how to use Gridsome to create websites and apps that are fast by default, and finally, learn how to fetch markdown content with GraphQL.

This tutorial is specifically for developers who want to get started with Gridsome and already use Vue.js. By the end of this tutorial, you will understand how to make use of Gridsome’s many functionalities — along with a few “gotchas” and things to keep in mind along the way.

To get started with Gridsome, you’ll need to make sure you have the following tools installed:

To confirm that you have Node installed, you can run node --version in the Terminal

  • npm (this comes packaged with Node) or Yarn
  • Basic understanding of how to use the Terminal
  • Basic knowledge of HTML, CSS, and Vue.js

Knowing how GraphQL works is a plus, though their documentation has plenty of examples for quick review.

Why Gridsome?

Gridsome is a free and open-source Vue-powered static site generator (SSG) for building fast, modern websites and apps



gridsome vue graphql

Bootstrap 5 Complete Course with Examples

Bootstrap 5 Tutorial - Bootstrap 5 Crash Course for Beginners

Nest.JS Tutorial for Beginners

Hello Vue 3: A First Look at Vue 3 and the Composition API

Building a simple Applications with Vue 3

Deno Crash Course: Explore Deno and Create a full REST API with Deno

How to Build a Real-time Chat App with Deno and WebSockets

Convert HTML to Markdown Online

HTML entity encoder decoder Online

Leveraging Vue.js & GraphQL with Gridsome (Airtable Database Example)

Vue.js and GraphQL are two powerful modern JavaScript tools. Gridsome finally leverages both to build great websites & apps. We used it to fetch data in Airtable with GraphQL for a neat Vue.js app. Yes, Vue.js finally found its Gatsby, and it’s called Gridsome. It quickly caught the attention of our team and today I’m putting it to the test by building my own Vue & GraphQL-powered e-commerce app.

8 Popular Websites That Use The Vue.JS Framework

In this article, we are going to list out the most popular websites using Vue JS as their frontend framework. Vue JS is one of those elite progressive JavaScript frameworks that has huge demand in the web development industry. Many popular websites are developed using Vue in their frontend development because of its imperative features.

Handling Vue Authentication using GraphQL API

In this tutorial, we will be using Vuex and ApolloClient connected to a GraphQL API to handle authentication in our Vuejs app.

Vue File Upload Using vue-dropzone Tutorial

Vue File Upload Using vue-dropzone Tutorial is the leading topic. For this example, I am using Vue 3 and vue-dropzone library. We will create a simple form component through the user can upload the image, and we will store in the Laravel 5.6 server.

10 Best Vue Icon Component For Your Vue.js App

In this article, I will collect 10 Vue icon component to bring more interactivity, better UI design to your Vue application.