How To Customize Your Strapi Project via Plugins - how to use the register function
Strapi
0:00 / 0:00
How To Customize Your Strapi Project via Plugins - how to use the register function
3 407 просмотров · 1 г. назад
Strapi
21,6 тыс. подписчиков
3 407 просмотров · 1 г. назад
Let's look at how we can programmatically customize our Strapi app via the register function.
👉 Blog Post and Code: https://strapi.link/register-customiz...
In this video, we look at Strapi customization and how to use the register functions to add additional customizations, like middleware, components, and corn jobs plugins, improving functionality and reusability.
00:00 Use the register function in Strapi to customize your app and plugins for better management and reusability.
02:35 You can create a "special" collection type in Strapi, enable public permissions, and programmatically add middleware to routes using the Strapi console.
05:44 To customize a Strapi project, use plugins to register routes and middleware for better logic encapsulation and project management.
07:38 Initialize your Strapi plugin by answering prompts, then add the configuration snippet to enable it in your project.
08:40 Use the watch command to rebuild your Strapi plugin and restart the app while utilizing the register function to extend plugin logic for reuse.
10:27 Create a custom Strapi plugin middleware for modular code by adding it to the middleware folder and using it in the register function.
12:47 Learn to add and manage custom components in Strapi using plugins.
16:00 Customize your Strapi application by programmatically adding and managing Cron jobs through plugins for modular functionality.
What You'll Learn
Register Functions: Learn how to leverage the register function in your Strappy app to add middleware and customize routes.
Creating Plugins: Discover the benefits of using plugins to encapsulate your logic, making sharing and managing functionalities easier.
Adding Components Programmatically: Find out how to easily inject components into your collection types.
Automating with Cron Jobs: See how to set up cron jobs to keep your app running smoothly.
----------------------------------------------------------------------------------------------------------------------
Resources
------------------------------------------------------------------------------------------------------------------------
Docs: https://docs.strapi.io/dev-docs
Strapi Events: https://strp.cc/events
Find help on Discord: https://strp.cc/discord-events
Find help in our Forum: https://strp.cc/40EvYp0
------------------------------------------------------------------------------------------------------------------------
Strapi
------------------------------------------------------------------------------------------------------------------------
Get started with Strapi: https://strapi.io
Strapi Cloud: https://strapi.io/cloud
Try the live demo: https://strapi.io/demo
Strapi Blog: https://strapi.io/blog
Strapi Starter Project: https://github.com/strapi/nextjs-corp... always, thank you for your continuous support