更新时间:2023-02-22 14:23:34
是的,您可以使用旧的 jetstream 版本.jetstream 2.2.0 版支持 vue3,之前它将支持 vue2.但它可能包含一些错误.在终端上用 vue2 运行注释来安装 jetstream
yes, you can use old jetstream version. jetstream version 2.2.0 support with vue3 before that it will support vue2. But it might contain some bugs. To install jetstream with vue2 run comment on terminal
laravel new hello
cd hello
edit composer.json laravel/jetstream":^2.1",
然后运行 composer install;php artisan jetstream:在终端上安装惯性
.最后运行 npm install;npm 运行开发;php artisan migrate
在终端上.
edit composer.json "laravel/jetstream": "^2.1",
then run composer install; php artisan jetstream:install inertia
on terminal.
And finally run npm install; npm run dev; php artisan migrate
on terminal.