gatsby-source-datocms | Official GatsbyJS source plugin to pull content from DatoCMS | Plugin library
kandi X-RAY | gatsby-source-datocms Summary
kandi X-RAY | gatsby-source-datocms Summary
Source plugin for pulling models and records into Gatsby from DatoCMS administrative areas. It creates links between records so they can be queried in Gatsby using GraphQL. IMPORTANT: If you use this plugin, you will not be able to write queries as described in the DatoCMS Content Delivery API documentation. Content will be exposed using Gatsby's schema-generation. If you want to directly use our GraphQL API in Gatsby, consider using the gatsby-source-graphql plugin instead.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Resolve the image from the parent node .
- Get a loader object
- Returns the default translation metadata for a given locale
- Downloads a file from remote url
- Prefix plugin id
- Set a property on obj
gatsby-source-datocms Key Features
gatsby-source-datocms Examples and Code Snippets
Community Discussions
Trending Discussions on gatsby-source-datocms
QUESTION
I have problem with svgs used as imported i gatsby site. Everything seems to work fine on develop and build and serve modus. When i deploy site on gatsby cloud integrated with netflify all svgs which are imported not as inline html code not working properly. Weird is that i didnt get any error during build/deploy process. Anyone can help ? Below my dependencies and example of using svg on the site.
...ANSWER
Answered 2020-Jul-13 at 04:54When using gatsby-plugin-react-svg
your SVG folder must not contain any other kind of asset rather than SVGs. Make sure that your including rule is a SVG-only folder, ideally by creating a specific folder, like:
QUESTION
I am using this Gatsby JS plugin to explore the DatoCMS GraphQL API https://github.com/datocms/gatsby-source-datocms In the dato docs it says you can order by position in the cms https://www.datocms.com/docs/content-delivery-api/ordering/
I basically want to preserve the order in the cms, not have it order based on date.
In the dato API Explorer I can order posts by position like so.
...ANSWER
Answered 2020-Jan-07 at 16:33From the gatsby-source-datocms README:
IMPORTANT: If you use this plugin, you will not be able to write queries as described in the DatoCMS Content Delivery API documentation. Content will be exposed using Gatsby's schema-generation. If you want to directly use our GraphQL API in Gatsby, consider using the gatsby-source-graphql plugin instead.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install gatsby-source-datocms
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page