Thanks for your starter! It got me off to a fantastic start with converting my WP site to markdown.
It's taken me literally about a day to get all the markup in, and convert the vue files to ones that suit my theme and development preferences.
Anyway, I just tried to replace...
use: '~/src/plugins/wp-source/' with
use: '@gridsome/source-wordpress'
... and I get the following error:
Error: child "path" fails because ["path" is required]
at vaidateOptions (/Volumes/Data/Work/Sites/2018 - Dave Stewart/development/cms/Gridsome/gridsome-starter-wordpress/node_modules/gridsome/lib/pages/validateOptions.js:20:11)
at Pages._normalizeOptions (/Volumes/Data/Work/Sites/2018 - Dave Stewart/development/cms/Gridsome/gridsome-starter-wordpress/node_modules/gridsome/lib/pages/pages.js:166:21)
at Pages.createPage (/Volumes/Data/Work/Sites/2018 - Dave Stewart/development/cms/Gridsome/gridsome-starter-wordpress/node_modules/gridsome/lib/pages/pages.js:83:26)
at Object.createPage (/Volumes/Data/Work/Sites/2018 - Dave Stewart/development/cms/Gridsome/gridsome-starter-wordpress/node_modules/gridsome/lib/pages/utils.js:33:20)
at VueTemplates.createNodePage (/Volumes/Data/Work/Sites/2018 - Dave Stewart/development/cms/Gridsome/gridsome-starter-wordpress/node_modules/gridsome/lib/plugins/vue-templates/index.js:85:23)
at contentType.collection.find.forEach.node (/Volumes/Data/Work/Sites/2018 - Dave Stewart/development/cms/Gridsome/gridsome-starter-wordpress/node_modules/gridsome/lib/plugins/vue-templates/index.js:53:12)
at Array.forEach (<anonymous>)
at VueTemplates.createTemplate (/Volumes/Data/Work/Sites/2018 - Dave Stewart/development/cms/Gridsome/gridsome-starter-wordpress/node_modules/gridsome/lib/plugins/vue-templates/index.js:52:35)
at VueTemplates.createTemplates (/Volumes/Data/Work/Sites/2018 - Dave Stewart/development/cms/Gridsome/gridsome-starter-wordpress/node_modules/gridsome/lib/plugins/vue-templates/index.js:30:12)
at process._tickCallback (internal/process/next_tick.js:68:7)
Hey,
Thanks for your starter! It got me off to a fantastic start with converting my WP site to markdown.
It's taken me literally about a day to get all the markup in, and convert the vue files to ones that suit my theme and development preferences.
Anyway, I just tried to replace...
use: '~/src/plugins/wp-source/'
withuse: '@gridsome/source-wordpress'
... and I get the following error:
Any ideas?