New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

nuxt-kql

Package Overview
Dependencies
Maintainers
1
Versions
163
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nuxt-kql

Kirby's Query Language API for Nuxt

latest
Source
npmnpm
Version
2.1.2
Version published
Weekly downloads
129
-51.87%
Maintainers
1
Weekly downloads
 
Created
Source

Nuxt KQL module

Nuxt KQL

Nuxt module for Kirby's Query Language API.

Features

Setup

[!TIP] 📖 Read the documentation

npx nuxi@latest module add kql

Basic Usage

[!TIP] 📖 Read the documentation

Add the Nuxt KQL module to your Nuxt config:

// `nuxt.config.ts`
export default defineNuxtConfig({
  modules: ['nuxt-kql']
})

And send queries in your template:

<script setup lang="ts">
const { data, refresh, error, status, clear } = await useKql({
  query: 'site'
})
</script>

<template>
  <div>
    <h1>{{ data?.result?.title }}</h1>
    <pre>{{ JSON.stringify(data?.result, undefined, 2) }}</pre>
  </div>
</template>

💻 Development

  • Clone this repository
  • Enable Corepack using corepack enable
  • Install dependencies using pnpm install
  • Run pnpm run dev:prepare
  • Start development server using pnpm run dev

License

MIT License © 2022-PRESENT Johann Schopplich

Keywords

getkirby

FAQs

Package last updated on 19 Sep 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts