custom package development 404 on package view #34520
Unanswered
sts-ryan-holton
asked this question in
General
Replies: 1 comment
-
Hi there, Thanks for reporting but it looks like this is a question which can be asked on a support channel. Please only use this issue tracker for reporting bugs with the library itself. You can post support questions on our discussions tab instead so I'm moving it over there. I won't be able to help you out personally but others who are watching this repository can help you out. Alternatively, you can post this question on one of the following channels: Thanks. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Description:
I've just starting developing a Laravel 8 package that contains some custom routes and a view. I'm trying to load this package into my main Laravel project and access the configured route from my package, I'm new to developing packages in Laravel and despite following the documentation I'm getting a 404 not found. I've ran
php artisan config:cache
, andphp artisan route:list
to see whether my package's route is at least showing, and it is, but is failing to load the view.My package's view is listed under
/src/views/form.blade.php
and my route is/form
within the package, but accessing this in my project doesn't load the view from the package...My package name is called: TestPackage
Not sure where I'm going wrong, some guidance would be appreciated here, the contents of
php artisan route:list
gives me from my main project:My package's
routes.php
is:And my service provider is...
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions