v3 package resources / blade templates
I created a fresh v3 package but inside the documentation I can’t find a description on how to add blade templates.
Right now I follow the guide on how to manage frontend users as profiles but I want to create corresponding admin/repeaters/tasks.blade.php and other views inside the package so I can reuse it easier on new projects and also distribute the package later.
Looks like there is a mix between v2 and v3 stuff in the documentation as well? Because there is nonstick directory: resources/views/admin/repeaters/
I
ifox•344d ago
Hi @_crp87 some guides may still have Twill 2 specific instructions yes, but beyond paths it shouldn't really be that much different.
a Twill package is exactly like a Laravel package, so you would register views in the package service provider like you would in s standard Laravel package. If you're looking to register blocks, repeaters etc, the Twill package service provider has specific methods to do so
1.4KMembers
View on DiscordWant results from more Discord servers?
More Postsv3 Package creation - version mismatchHey,
I started installing twill 3 n a fresh Jetstream based laravel App. I could also create my firHi, do you know where I can add another link?Aligned with All Items, Published, Draft and Trashed. I just want to add new linkTwill advanced permissionsI've followed the documentation with regard to adding the enabled and permission key to config/twillUpdating Translations from the Command LineHi all, as usual I assume I'm misunderstanding something basic about how Laravel works, but I have bPreview ModulesHey how do you go about previewing modules? There is not a lot of documentation available. How do yoLegacy Settings Sections return values doesn't workHi,
After save Settings to database, values doesn't bind in inputs.
How fixed this @ifox.dev ?