拉拉维尔。如何逆转php工匠微风:安装`

发布于 2025-01-24 11:28:07 字数 177 浏览 3 评论 0原文

我已经运行了PHP Artisan Breeze:安装,但我想逆转它,以便我可以安装VUE:PHP Artisan Breeze:安装VUE

如何逆转PHP Artisan Breeze:install命令。 任何帮助将不胜感激。谢谢。

I have ran php artisan breeze:install but I want to reverse it so I can install vue: php artisan breeze:install vue.

How to reverse the php artisan breeze:install command.
Any help would be appreciated. Thank you.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(6

醉态萌生 2025-01-31 11:28:07
  1. 作曲家删除Laravel/Breeze
  2. Composer Update
  3. PHP Artisan配置:CACHEN

以确保其已卸载,打开您的 composer.json 文件,看看是否不再在 require-dev 中列出Laravel/Breeze。

  1. composer remove laravel/breeze
  2. composer update
  3. php artisan config:cache

To ensure that it's been uninstalled, open your composer.json file and see if laravel/breeze is no longer listed in require-dev.

青萝楚歌 2025-01-31 11:28:07
  1. 删除供应商文件夹
  2. 中删除微风
  3. 从作曲家
  1. Delete the vendor folder
  2. Remove the breeze from the composer.json
  3. Then composer install
莳間冲淡了誓言ζ 2025-01-31 11:28:07

我认为删除创建的刀片文件并再次运行安装命令应该完成工作,也许也必须删除某些控制器。

编辑:
从作曲家的依赖中删除微风无济于事,因为您试图使用VUE安装它

I think removing the blade files that are created and running the install command again should do the job, maybe some of the controllers have to be removed too.

Edit:
Removing breeze from the composer dependecies won’t help as you are trying to install it with vue

╰つ倒转 2025-01-31 11:28:07
  1. 转到目录中的供应商文件夹。
  2. 删除供应商文件夹。
  3. 从Composer中删除依赖项。JSON文件
  4. 重新安装了Laravel Breeze软件包。
  1. Go to the Vendor folder in your directory.
  2. Delete the Vendor folder.
  3. Remove the dependency from composer.json file
  4. Reinstall the Laravel Breeze package.
甜中书 2025-01-31 11:28:07

如果git在项目中使用,则很容易恢复。

  1. 还原提交
  2. 运行Composer install
  3. 运行npm install

也可以在没有git的情况下将其恢复。

  1. 找出由Breeze安装创建或修改的文件,然后手动删除这些文件。通常,创建或修改了以下文件和文件夹。并恢复修改后的文件的更改(尽管非常复杂)。
    created: app/Http/Controllers/Auth/
    created: app/Http/Controllers/ProfileController.php
    created: app/Http/Requests/
    created: app/View/
    created: package-lock.json
    created: postcss.config.js
    created: resources/views/auth/
    created: resources/views/components/
    created: resources/views/dashboard.blade.php
    created: resources/views/layouts/
    created: resources/views/profile/
    created: routes/auth.php
    created: tailwind.config.js
    created: tests/Feature/Auth/
    created: tests/Feature/ProfileTest.php
    created: tests/Pest.php

    modified: app/Providers/RouteServiceProvider.php
    modified: composer.json
    modified: composer.lock
    modified: package.json
    modified: resources/css/app.css
    modified: resources/js/app.js
    modified: resources/views/welcome.blade.php
    modified: routes/web.php
    modified: tests/Feature/ExampleTest.php
    modified: tests/Unit/ExampleTest.php
    modified: vite.config.js

  1. 运行作曲家删除Laravel/Breeze
  2. Run NPM安装

If git is used in the project, it will be easy to revert.

  1. Revert the commit
  2. Run composer install
  3. Run npm install

It can be reverted without git as well.

  1. Figure out which files are created or modified by breeze installation, then delele those manually. Normally the following files and folders are created or modified. And revert the changes of the modified files (althought it's very complicated).
    created: app/Http/Controllers/Auth/
    created: app/Http/Controllers/ProfileController.php
    created: app/Http/Requests/
    created: app/View/
    created: package-lock.json
    created: postcss.config.js
    created: resources/views/auth/
    created: resources/views/components/
    created: resources/views/dashboard.blade.php
    created: resources/views/layouts/
    created: resources/views/profile/
    created: routes/auth.php
    created: tailwind.config.js
    created: tests/Feature/Auth/
    created: tests/Feature/ProfileTest.php
    created: tests/Pest.php

    modified: app/Providers/RouteServiceProvider.php
    modified: composer.json
    modified: composer.lock
    modified: package.json
    modified: resources/css/app.css
    modified: resources/js/app.js
    modified: resources/views/welcome.blade.php
    modified: routes/web.php
    modified: tests/Feature/ExampleTest.php
    modified: tests/Unit/ExampleTest.php
    modified: vite.config.js

  1. Run composer remove laravel/breeze
  2. Run npm install
晨光如昨 2025-01-31 11:28:07

您只需向下滚动到文件夹“供应商\ laravel”,然后删除Laravel文件夹即可。

You would just scroll down to the folder "vendor\laravel" and delete the laravel folder.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文