Laravel Passport 没有 Vue 组件文件 [英] Laravel Passport has no Vue component file

查看:58
本文介绍了Laravel Passport 没有 Vue 组件文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近在我的 Laravel 8 项目中安装了 Passport 并采取了必要的步骤,但是当我想要做一个前端快速入门时:

I recently installed Passport to my Laravel 8 project and took the necessary steps, but when I want to do a front-end quickstart with:

php artisan vendor:publish --tag=passport-components

它显示一条错误消息,内容如下.

It displays an error message saying the following.

无法找到可发布的资源

请帮忙?我已经在网上搜索答案,但没有找到答案.

Please help? I've scoured the net for answers but have come up short.

推荐答案

我不认为 Laravel Passport 有任何可发布的标签 passport-components

I don't think Laravel Passport has any publishable tag called passport-components

就文档而言,有三个可发布的标签

As far as the documentation goes there are three publishable tags

  • tag=passport-config 在 config/passport.php
  • 发布配置文件
  • tag=passport-migrations 发布 Passport 的迁移文件
  • tag=passport-views 发布视图以供授权审批

这篇关于Laravel Passport 没有 Vue 组件文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆