Strapi Starter for Gridsome
The gridsome-starter-strapi is a Gridsome Starter project that utilizes the headless CMS Strapi. Its purpose is to accelerate the development process with Strapi. A demo of the project is hosted on Netlify. This starter project uses the @gridsome/source-strapi source plugin to fetch data from Strapi and store it in Gridsome’s data store. Images provided by Strapi are downloaded and saved locally during the build process. Rich text content, provided as markdown from Strapi, is prepared and transformed to HTML using the @gridsome/transformer-remark plugin.
To set up the gridsome-starter-strapi project, follow the steps below:
npm install @gridsome/source-strapi --savenpx create-strapi-app gridsome-starter-strapi-cms --quickstart to install Strapi and create a new project.npm run strapi install graphql.npm run develop.To create posts within the Strapi Admin Interface:
To create an “About” page within the Strapi Admin Interface:
After completing the Strapi setup, proceed with the following steps for Gridsome setup:
npm install --global @gridsome/cligridsome create gridsome-starter-strapicd gridsome-starter-strapigridsome developIn summary, gridsome-starter-strapi is a Gridsome Starter project that utilizes the Strapi headless CMS. It provides integration with the @gridsome/source-strapi plugin for data retrieval and the @gridsome/transformer-remark plugin for transforming markdown content into HTML. The project allows for easy creation of blog posts and an “About” page within the Strapi Admin Interface. Setting up and running the project involves installing necessary plugins and following specific configuration steps.