spatrame
spatrame
I have installed NodeJs v8.1.0, but still shows SyntaxError: Unexpected token ...
node is a json object fetching from an api or a file. For sample i just hardcoded as below node = { nid: 'abc', name: 'testing' }
I took an example from below link and created above sample code(initial post). I am passing assetNode object. Let me know if i am doing something wrong here. createNode(assetNode) https://www.gatsbyjs.org/docs/bound-action...
Createnode is called inside exports.sourceNodes = ({ boundActionCreators }) => { // Create nodes here. const { createNode } = boundActionCreators } Ref: https://www.gatsbyjs.org/docs/node-apis/#sourceNodes
Please find the console log below, copy gatsby files: 91.922ms calling api handler in D:/RJS/using-drupal for api sourceNodes { id: '123', parent: '__SOURCE__', children: [], internal: { type: 'CoolServiceMarkdownField', content:...
This got fixed by adding below div. div id="___gatsby" dangerouslySetInnerHTML={{ __html: this.props.body }}
I have similar issue, Workaround for the issue seems to be fine. But I cant't delete the fields since we have around 200 records already updated. Any update on permanent...
I have more than 50 locales, it will be difficult to maintain multiple css name for each locales. Can we access locale value in html.js file before creating the pages?