GasyCoder / jetstream_laravel8

Laravel Jetstream Components VueJs: How to Customize & How it Works.

Home Page:https://gasycoder.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Laravel Jetstream

Laravel Jetstream is a beautifully designed application starter kit for Laravel and provides the perfect starting point for your next Laravel application. Jetstream provides the implementation for your application's login, registration, email verification, two-factor authentication, session management, API via Laravel Sanctum, and optional team management features.

Jetstream is designed using Tailwind CSS and offers your choice of Livewire or Inertia scaffolding.

Installing Jetstream

You may use Composer to install Jetstream into your new Laravel project:

	
composer require laravel/jetstream
	

After installing the Jetstream package, you may execute the jetstream:install Artisan command. This command accepts the name of the stack you prefer (livewire or inertia). In addition, you may use the --teams switch to enable team support. The jetstream:install command will also install a suite of "feature" tests that provide test coverage for the features provided by Jetstream.

You are highly encouraged to read through the entire documentation of Livewire or Inertia before beginning your Jetstream project.

Install Jetstream With Livewire

	
php artisan jetstream:install livewire
php artisan jetstream:install livewire --teams
	

Or, Install Jetstream With Inertia

	
php artisan jetstream:install inertia
php artisan jetstream:install inertia --teams
	

Finalizing The Installation

After installing Jetstream, you should install and build your NPM dependencies and migrate your database:

	
npm install
npm run dev
php artisan migrate
	

Livewire

If you are using the Livewire stack, you should first publish the Livewire stack's Blade components:

	
php artisan vendor:publish --tag=jetstream-views
	

After customizing these components, you should rebuild your assets:

	
npm run dev or npm run watch
	

Check this link to know more about Jetstream :

Jetstream

License

The MIT License (MIT). Please see License File for more information.

About

Laravel Jetstream Components VueJs: How to Customize & How it Works.

https://gasycoder.com


Languages

Language:Vue 42.9%Language:PHP 41.6%Language:Blade 15.3%Language:Shell 0.2%