gridsome-source-mysql
JSON →Gridsome source plugin to load data directly from a MySQL database. Current stable version is 1.5.4. It allows specifying SQL queries to fetch data as content types, with support for image downloading/optimization (including comma-separated URLs), relations via foreign key naming conventions (`xxx_id`, `xxx_ids`), dynamic routes, and JSON parsing. Compared to using a CMS or other source plugins, it provides direct database access for custom queries, regex-based image filename cleanup, and sub-query support. Release cadence is irregular; updates occur based on community contributions.
Resources
packagegridsome-source-mysql ↗
API endpoints
full doc /v1/registry/gridsome-source-mysql