我是laravel的新手,并且在基础知识方面苦苦挣扎。任何人都可以帮忙吗?从视图文件夹中的文件导航到laravel中视图文件夹中的另一个文件
我想从index.blade.php
导航到dashbaord.blade.php
laravel。无论index.blade.php
和dashboard.blade.php
位于这样的资源文件夹
resources/cutups/
index.blade.php
dashboard.blade.php
尝试使用
href="{{ route('cutups.dashboard') }}">Create
但导致错误
将'index.blade.php'放入'resources/views/cutups文件夹'中,然后在你的index.blade.php文件中加入'href =“{{route('cutups.dashboard')}} '链接文件。 –
感谢那...它工作 – Ann