Open joeyramone76 opened 3 years ago
Could you please try again. Some steps to take
twill.php
, if you have it.mkdir -p app/Twill/Capsules
(bug will be fixed soon)php artisan twill:capsule:install --copy Homepages
twill.php
:<?php
return [
'capsules' => [
'list' => [
[
'name' => 'Homepages',
'enabled' => true,
],
]
]
];
front.home
:Route::get('/', fn() => print('This is the homepage'))->name('front.home');
And I believe it should work.
Thanks for reporting this.
Cheers!
Hi @antonioribeiro , Thank you so much. The problem with artisan command it's now resolved, but now I have another error after login in admin area Route [admin.homepages.landing] not defined it seems that Laravel does not consider routes and controllers under app / Twill / Capsules / Homepages I miss some steps with Capsules installation?
Hi @joeyramone76!
Did you get the capsule to work?
I just made a change that Antonio merged with this change, and now there is no need to create a folder (the error has been fixed), and I no longer have the error of the route not being defined. I updated the Readme as well to rework the installation.
Do not hesitate to tell me if you still have a problem!
Cheers ✌🏽
Hi to all, i'm trying to install capsule-homepages but I'm unable to complete the process. I've followed this steps:
where am I wrong?