Hi, how can I create a blog module. #162
luckykenlin
started this conversation in
General
Replies: 0 comments
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.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, how can I create a blog module?
Currently, I need to:
Create a blog first and make a page block called BlogDetailBlock.
Create a page and select the blog as a block.
Is there an elegant way to auto-generate a page when I create a blog?
Or do I need to implement the same functionality like page in the blog model and manually register the route like this:
Route::get('/blogs/{blog:slug}', [BlogController::class, 'show']);
Anybody can share ideas on how you deal with increasing data models like blogs?
I saw somebody use this package and create more than 10K pages. I can't imagine if every page was done manually.
Thanks for your tips and help.
Beta Was this translation helpful? Give feedback.
All reactions