Already a member? Sign in and enjoy.
npx apply laravel:vite
[ info ] Applying preset laravel:vite.
[ error ] Access to laravel-presets/vite denied. If you think it's an error, make sure you have an SSH key set up and linked to your Git account. If the repository is public and you don't want to configure SSH, use the --no-ssh flag.
npm ERR! code 1
npm ERR! path /Applications/XAMPP/xamppfiles/htdocs/laravel-pagination
npm ERR! command failed
npm ERR! command sh -c apply 'laravel:vite'
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/ahmedkhaleel/.npm/_logs/2022-05-18T12_04_30_292Z-debug.log
what the solutions?
This was really useful!
It would be handy if you could go through how to combine the cursor pagination with api resources.
I follow your instruction to set up laravel-vite with this command "npx @preset/cli apply laravel:vite" but the output is different from the one in your video. There aren't app.blade.php, App.vue and main.ts file is empty and it seems Vuejs wasn't installed.
Please give me some advice on how to move forward.
you can use latest('id') so unnecessary to update created_at haha
Awesome, thank you Alex!