reyptr27 / laravel-jetstream-inertia-ui
为laravel jetstream(inertia stack)定制的UI
1.0
2024-07-11 06:30 UTC
Requires
- php: ^8.2
This package is auto-updated.
Last update: 2024-09-30 08:53:43 UTC
README
为laravel jetstream(inertia stack)提供定制的UI。
我建议在从头开始的项目上安装此包。
用法
注意:无论您使用
vitejs
还是laravel-mix
,在两种情况下它都能正常工作。
- 全新安装Laravel >= 11.0 并使用
cd
命令切换到您的应用目录。 - 安装laravel/jetstream
composer require laravel/jetstream
# after finish run this command
php artisan jetstream:install inertia --teams
- 安装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
- 配置您的数据库。
- 运行
php artisan migrate
。 运行
.php artisan serve
。
请记住更改
.env
文件中的APP_URL
,如果您想启用manageProfilePicture
功能,请运行php artisan storage:link
。
导航
您将在以下位置找到侧边栏链接:
resources/js/Components/Sidebar/SidebarContent.vue