@query-api/vue

Craft CMS Query Builder for Vue
2,445 8
Install
npm install @query-api/vue
Latest Version:0.8.3
Vue:3
License:MIT
Last Updated:Sep 9, 2026
Links: GitHub  ·  npm
Maintainer: samuelreichor
Logo of Craft CMS and Vue

@query-api/vue

Write Craft CMS Queries in Vue, like you would in Twig. 🚀🚀


Vue Craft CMS latest version Vue Craft CMS downloads Vue Craft CMS license

Install

npm install @query-api/vue

[!TIP]

Documentation

Features

  • Craft CMS query url builder: Easily build urls for the Craft Query API plugin directly from Vue, enabling flexible, real-time data retrieval from Craft CMS
  • Built in Helper Components: Connect your data directly with your Vue components, to speed up development.
  • Get Only the Data You Need: Avoid overfetching by using a custom function in the query builder to select only the fields you require.
  • Pretty Json: Json Transformer are in place to prettify the response.
  • Support for main Element Types: Query addresses, assets, entries and users.

Requirements

This plugin requires Vue 3 and the Craft Query API installed on your Craft CMS instance.

Documentation

Visit the Vue SDK documentation for all documentation, guides and developer resources.

Further Resources

  • Craft CMS Plugin: The Craft CMS Plugin, that powers this great stuff.
  • JS SDK: The core package of the query builder.
  • Nuxt SDK: A package to use the query builder in Nuxt.

Support

If you encounter bugs or have feature requests, please submit an issue. Your feedback helps improve the library!

Related Packages

@query-api/nuxt

Craft CMS Query Builder for Nuxt

3,228 8
weaverbird

A generic Visual Query Builder built in Vue.js

4,540 106
vue-craftcms

Craft CMS querybuilder for vue

724 1
@hammerstone/refine-vue2

A powerful, drop in query builder — fully integrated with Laravel and Rails. See...

1,066 21
query-builder-vue

A query-builder library for Vue.js

20,478 107

Version History

Version Released Vue License
0.8.3 >=3.0.0 MIT
0.8.2 >=3.0.0 MIT
0.8.1 >=3.0.0 MIT
0.8.0 >=3.0.0 MIT
0.7.1 >=3.0.0 MIT
Pre-releases (12)
Version Released Vue License
0.4.0-alpha4 >=3.0.0 MIT
0.4.0-alpha3.0 >=3.0.0 MIT
0.4.0-alpha3 >=3.0.0 MIT
0.4.0-alpha2 >=3.0.0 MIT
0.4.0-alpha1 >=3.0.0 MIT