We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
It's too clunky the way it's implemented.
Maybe I can do the same from the page’s asyncData
asyncData
Something that's like this in the beforeInsert hook docs:
You might want to parse markdown inside a .json file. You can access the parsers from the database object
export default { modules: [, '@nuxt/content' ], hooks: { 'content:file:beforeInsert': async (document, database) => { if (document.extension === '.json' && document.body) { const data = await database.markdown.toJSON(document.body) Object.assign(document, data) } } } }
const someFunctionName = async ($content, document) => { }
The text was updated successfully, but these errors were encountered:
fix: 🐛 preamble, coverImage InnerDocument are loaded from asyncData #62
40fd305
renoirb
No branches or pull requests
It's too clunky the way it's implemented.
Maybe I can do the same from the page’s
asyncData
Something that's like this in the beforeInsert hook docs:
Bookmarks
The text was updated successfully, but these errors were encountered: