Piyush Dankhra

moon indicating dark mode
sun indicating light mode

Last updated: January 25, 2021

Blog extension for Magento PWA Studio

One popular feature of Magento sites is the Blog.

There are predominantly two ways we can integrate blogs in the Magento

  1. Wordpress blogs
    • To integrate WordPress blogs, it required to install the extension like WordPress Integration by Fishpig that fetches blogs from the WordPress and shows on the Magento frontend.
  2. Third party Magento extension
    • And another way is, use third party magento extension from that we can add blogs directly from the Magento backend instead of integrating using any third-party service like WordPress.

One free and popular third party blog extension available is the Magento 2 Blog Extension by Magefan. It provides the GraphQL support that covers all endpoints.

So it is a good idea to build the blog extension for the PWA Studio on top of this extension.

Here is the Blog extension for PWA Studio

Installation

  1. It requires the following installations to integrate the blog feature in the project
    composer require magefan/module-blog magefan/module-blog-graph-ql
    bin/magento s:up
    bin/magento s:d:c
    bin/magento s:s:d
  2. Install the following blog extension in the PWA Studio project
    npm i @dankhrapiyush/blog

It covers the following features

  • Blog List and View Page
  • Post Blog Comments
  • Related products
  • Blog Tag and Category View Page
  • SEO-friendly URLs

Demo

YouTube Demo of the extension

Demo - Blog extension for PWA Studio

I hope it helps merchants and developers to integrate the blog feature in their PWA Studio project. Cheers!


I'm Piyush Dankhra
Adobe Certified Expert - Adobe Commerce Developer / Front-End Developer / Business Practitioner
Adobe Subject Matter Expert - Adobe Commerce Front End Developer / Business Practitioner
Working on Magento 2 / Hyva