duanmeng3126
2016-12-23 14:58
浏览 58
已采纳

Laravel如何路由Voyager登录页面?

I'm new to this But I have to learn Laravel. Now I have installed the "Voyager" successfully. I can Login page of "Voyager" by typing the URL "localhost:8000/admin/login". I have created a web page is a page which includes a button that can be pressed to link to Login. How to do? Thanks.

<li class="page-scroll">
 <a href="">Login</a>
</li>
  • 写回答
  • 好问题 提建议
  • 追加酬金
  • 关注问题
  • 邀请回答

3条回答 默认 最新

  • dongmeng1875 2016-12-23 17:06
    最佳回答

    Just use url() with the Voyager admin login path:

    <a href="{{ url('admin/login') }}">Login</a>
    
    评论
    解决 无用
    打赏 举报
查看更多回答(2条)

相关推荐 更多相似问题