kamona/kui-laravel-jetstream

Different UI for laravel/jetstream

0.2.0 2022-07-12 19:57 UTC

This package is auto-updated.

Last update: 2024-11-13 00:52:14 UTC


README

Different UI for larave/jetstream.

License Releases Stars Total Downloads

Breeze Version

We recommend installing this package on a project that you are starting from scratch.

Usage

NOTE: It doesn't matter if you use vitejs or laravel-mix, it will work in both cases.

  1. Fresh install Laravel >= 8.0 and cd to your app.
  2. Install laravel/jetstream
composer require laravel/jetstream

# after finish run this command

php artisan jetstream:install livewire --teams
  1. 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
  1. Configure your database.
  2. Run php artisan migrate.
  3. php artisan serve.

Do not forget to change APP_URL in .env file and run php artisan storage:link if you want to enable manageProfilePicture feature.

Navigation

You will found sidebar links in:

  • livewire: resources/views/components/sidebar/content.blade.php.
  • inertia: resources/js/Components/Sidebar/SidebarContent.vue

Screens