<QueryContent> component
See original GitHub issueDescribe the solution you’d like
The queryContent()
composable provides a way to make programmatic queries in the content/
directory. The <QueryContent>
component could act as a wrapper around the composable and accept props to create the queryBuilder and render the content.
Usage
<template>
<QueryContent path="articles" :only="['title']" :where="{author: 'Ada Lovelace'}" />
</template>
Minus
The potential downside would be having to maintain both the composable and the component in case of API changes.
Issue Analytics
- State:
- Created a year ago
- Reactions:3
- Comments:7 (3 by maintainers)
Top Results From Across the Web
queryContent() - Nuxt Content
queryContent (). The queryContent composable provides methods for querying and fetching your contents. Create a query builder to search contents.
Read more >QUERY CONTENT - IBM
Use this command to display information about files in a storage pool volume, and the names of client files that link to a...
Read more >Adding Fields to Query Content - Oracle Help Center
Adding Fields to Query Content. Next Topic. This section describes the service operations that are available for adding fields to a query. These...
Read more >Query content - Sitefinity CMS .NET Core Renderer
The IRestClient interface is part of Sitefinity REST SDK, which you can download from Sitefinity NuGet Repository. The Progress.Sitefinity.
Read more >AWebFactory on Twitter: "Added ¨Displaying a markdown ...
... using the ContentQuery component¨and today ¨Using queryContent composable where method to ... instead of grabbing vue components from markdown, or both.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
What about calling it
ContentQuery
instead?Since latest changes
<Content />
shipsuseAsyncData
andqueryContent
anyways.