Laravel Api authentication (Sanctum) with NuxtJs(Half-2)
Within the final half I discussed about Api authentication with Laravel Sanctum in the event you didnt test it please test it out.
Right here I’ll combine it with Nuxt.js that’s present you the frontend
Nuxt Set up
Right here we’re putting in Nuxt as a seperate standalone frontend means you’ll set up nuxt the way in which you do and combine Laravel api with it.
npm init nuxt-app laravel-api-auth-sanctum so its
npm init nuxt-app identify of your undertaking
I’m going for Prettier
None for now
Rendering mode choose SSR
Right here we’ll choose NodeJS internet hosting
Will probably be none
Model COntrol System
Right here I’m choosing none.
Venture Efficiently Created
PLease Rigorously Be aware-The settings used on this undertaking may differ primarily based on shoppers requirement so primarily based on necessities that you must regulate.
cd onto the undertaking folder
npm run dev
When you’ve got put in all the pieces efficiently
Checkout extra Articles on Sayed.CYou