Different UI for larave/jetstream.
We recommend installing this package on a project that you are starting from scratch.
NOTE: It doesn't matter if you use
vitejs
orlaravel-mix
, it will work in both cases.
- Fresh install Laravel >= 8.0 and
cd
to your app. - Install laravel/jetstream
composer require laravel/jetstream
# after finish run this command
php artisan jetstream:install livewire --teams
- Install kamona/kui-laravel-jetstream
composer require kamona/kui-laravel-jetstream --dev
# after finish run this command
# This package will detect if your project use vitejs or not by check if vite.config.js exist or not.
php artisan kui-jetstream:replace livewire --teams
# available stacks (livewire,inertia).
# So if you run `php artisan jetstream:install inertia` you can run `php artisan kui-jetstream:replace inertia`
# then
npm install && npm run dev # or yarn && yarn dev
- Configure your database.
- Run
php artisan migrate
. php artisan serve
.
Do not forget to change
APP_URL
in.env
file and runphp artisan storage:link
if you want to enablemanageProfilePicture
feature.
You will found sidebar links in:
- livewire:
resources/views/components/sidebar/content.blade.php
. - inertia:
resources/js/Components/Sidebar/SidebarContent.vue