Questions tagged [jetstream]

Laravel Jetstream is an application starter kit for Laravel. Jetstream provides the following features for your application:

  • login
  • registration
  • email verification
  • two-factor authentication
  • session management
  • API via Laravel Sanctum

Documentation at jetstream.laravel.com.

480 questions
3
votes
1 answer

How does the shared data function usePage work in inertia

I am using laravel jetstream with inertia js and vue3. I am trying to create a Layout-Component to create the navigation bar there. The Layout-Component needs to fetch shared data: https://inertiajs.com/shared-data Why does my code not work? My…
BloodWork01
  • 107
  • 4
  • 14
3
votes
5 answers

Why are some Tailwind classes not having effect in JetStream?

Some classes like text-green-500, rounded are having effect and the styling is updated. Ohter classes, like bg-black, don't have any effect on the styling. I am using Jetstream and TailwindCSS.
zyen
  • 39
  • 2
3
votes
2 answers

Laravel 8 jetstream hot reload and browser sync do not work

I have a big problem with a system I just created. I did the standard installation of Laravel 8 with jetstream using the docker and laravel sail... However, I am not able to do the npm run hot or npm run watch to auto reload or browser sync... My…
Yago Lagrotti
  • 31
  • 1
  • 2
3
votes
1 answer

Laravel 8 Jetstream Profile Photos with Socialite Avatars

I'm trying Laravel 8 Jetstream with Laravel Socialite. The problem is when I retrieve the avatar and use its URL to profile_photo_path. The blade file appends http://localhost:8000/storage/ that is causing the avatar not to display. screenshot…
3
votes
3 answers

Laravel v8.x - Jetstream Inertia, 419 page expired on production

enter image description here page expired 419 appears when in production. I've tried to run php artisan clear:cache, php artisan config:cache, php artisan key:generate, and also change the SESSION_DOMAIN with the same domain, but the page still…
3
votes
2 answers

Laravel 8 + Jetsream: How to Redirect to Prior Page After Login?

I have a basic web page where I want the user to be able to click the login link, go through the login, and then be returned to that page (not the home page). The page has some features that can only be seen when the user is logged in. I am having…
Daniel C
  • 607
  • 2
  • 8
  • 20
3
votes
2 answers

Redirect in inertia js and jetstream in javascript code

I want to be redirected to single question page after creation of question summitQuestion(){ this.question_button = true axios.post('/api/question/ask', { 'title' : this.question.title, 'body' : this.question.body, …
Blessing Mwale
  • 111
  • 1
  • 6
3
votes
1 answer

SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo failed: No such host is known. (Laravel 8 migration error)

After new laravel8 jetstream with livewire fresh installed when I run the command php artisan migrate then it gives the error on my terminal SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo failed: No such host is known. (SQL: select…
mdmunirujjaman27
  • 249
  • 1
  • 2
  • 6
3
votes
8 answers

CSS does not load in Laravel 8 + Jetstream on XAMPP

I am learning Laravel and using Laravel 8 and Jetstream. While testing the application on XAMPP, the css does not load on login/register pages. The css link points to localhost/app/css location. It works fine if i use php artisan serve command but…
irshukhan
  • 169
  • 2
  • 2
  • 12
3
votes
0 answers

Why does Jetstream fail to install on laravel 8 on my PC

I recently installed laravel-8 and trying to install Laravel Jetstream for authentication following their official documentation. It's returning the below error. $ composer require laravel/jetstream Using version ^1.6 for…
mamaye
  • 1,009
  • 1
  • 8
  • 17
3
votes
2 answers

How to Change the Logo in a Laravel Jetstream Application

I am new to Laravel and am trying to change the logo in a Laravel application with Jetstream and Inertia. I have gone over the documentation as well as resources on Laracasts and understand that I need to update the svg (or can use a png/jpg etc by…
Andrew
  • 1,745
  • 1
  • 21
  • 29
3
votes
1 answer

How to set a users current team in Laravel Jetstream

My application requires the ability of administrators to create registration access to users. This means that the account is 'half created' for them. In this process, the team assignment is set. A link will be generated at the end of this process to…
Jaquarh
  • 6,493
  • 7
  • 34
  • 86
3
votes
2 answers

Laravel Jetstream Vue mixin route

In a new Laravel project created by the installer with the Jetstream option resources/js/app.js has a line that reads: Vue.mixin({ methods: { route } }); PHPStorm reports that route is an unresolved variable or type. This happens, PHPStorm can be…
Marshall Davis
  • 3,337
  • 5
  • 39
  • 47
3
votes
2 answers

Input Value not working with Livewire wire:model

What I am trying to do is getting some data from DB and showing it in Input Value fields but here the problem is that when I use wire:model='some_input_name' the value does not show up. And if I remove the wire:model it shows the value the…
Abdullah
  • 123
  • 1
  • 1
  • 11
3
votes
2 answers

Cannot compile Laravel assets on new Homestead install

UPDATE 3 (LATEST) Per suggestion below (from justanothereddie), configuring the drive as NFS fixed the problem. I am not sure why though, so will leave the question open for a few more days. UPDATE 2 Just purchased a new MacBook Pro, but the…
DatsunBing
  • 8,684
  • 17
  • 87
  • 172