Skip to content

Installation

comhon-project edited this page Jan 4, 2026 · 6 revisions

Installation and configuration

  • install query-kit with npm :
> npm i @query-kit/vue
  • then import and use query-kit plugin (in your app.js or main.js or equivalent) :
import { createApp } from 'vue'
import { plugin } from "@query-kit/vue";
import App from 'App.vue'

const config = {/* here goes your config */};

createApp(App).use(plugin, config).mount('#app')

Theme

By default query-kit comes without any style, but if you don't want to define your own styles, you can use a predefined style. To do so, you must :

  • install theme package
> npm i @query-kit/themes
  • then import theme (in your app.js or main.js or equivalent) :
import "@query-kit/themes/default";

Clone this wiki locally