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条)

报告相同问题?