UNPKG

nuxt-csurf

Version:

Nuxt Cross-Site Request Forgery (CSRF) Prevention

14 lines (13 loc) 277 B
import { type $Fetch } from 'ofetch'; declare const _default: any; export default _default; declare module '#app' { interface NuxtApp { $csrfFetch: $Fetch; } } declare module 'vue' { interface ComponentCustomProperties { $csrfFetch: $Fetch; } }