dystcz / nuxt-sanctum-auth

Nuxt 3 + laravel sanctum authentication
134 stars 25 forks source link

Feature/typescript support #10

Closed davide-granello closed 1 year ago

davide-granello commented 1 year ago

I had problems when using this with typescript

<script setup lang="ts">

now the useNuxtApp is extending types from this library, so $sanctumAuth, apiFetch and csrf functions are correctly typed and intellisense is working.

davide-granello commented 1 year ago

closed as not working