reyptr27/laravel-jetstream-inertia-ui

为laravel jetstream(inertia stack)定制的UI

1.0 2024-07-11 06:30 UTC

This package is auto-updated.

Last update: 2024-09-30 08:53:43 UTC


README

laravel jetstream(inertia stack)提供定制的UI。

我建议在从头开始的项目上安装此包。

用法

注意:无论您使用vitejs还是laravel-mix,在两种情况下它都能正常工作。

  1. 全新安装Laravel >= 11.0 并使用cd命令切换到您的应用目录。
  2. 安装laravel/jetstream
composer require laravel/jetstream

# after finish run this command

php artisan jetstream:install inertia --teams
  1. 安装reyptr27/laravel-jetstream-inertia-ui
composer require reyptr27/laravel-jetstream-inertia-ui --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 reyptr27-jetstream:replace inertia --teams
# This package is only available for Inertia Stack.

# then
npm install && npm run dev # or yarn && yarn dev
  1. 配置您的数据库。
  2. 运行php artisan migrate
  3. 运行php artisan serve.

请记住更改.env文件中的APP_URL,如果您想启用manageProfilePicture功能,请运行php artisan storage:link

导航

您将在以下位置找到侧边栏链接:

resources/js/Components/Sidebar/SidebarContent.vue

屏幕