sot1986 / nuxt-laravel-precognition

Module to add Laravel precognition packages for Nuxt3
MIT License
12 stars 1 forks source link

Why not use `laravel-precognition` #1

Closed TouchSek closed 1 year ago

TouchSek commented 1 year ago

Laravel has https://www.npmjs.com/package/laravel-precognition as its core library, so we better use it.

sot1986 commented 1 year ago

Laravel has https://www.npmjs.com/package/laravel-precognition as its core library, so we better use it.

That package use axios. This one not.

TouchSek commented 1 year ago

I see. thanks.

TouchSek commented 1 year ago

@sot1986 and how to integrate with this package? https://github.com/manchenkoff/nuxt-auth-sanctum

sot1986 commented 1 year ago

Sanctum is one package to authenticate spa or generate access token. Precognition is Laravel Middleware to sync frontend and backend form validation (in realtime). Users may need only one of them...

sot1986 commented 1 year ago

If you don't have further questions I would close this issue.

Please confirm, thanks.

TouchSek commented 1 year ago

Ok, thanks. no more.