Install and Use a Strapi Plugin

Daniel Phiri
InstructorDaniel Phiri
Share this video with your friends

Social Share Links

Send Tweet
Published a year ago
Updated a year ago

There is a lot of extra functionality that you can import into your Strapi application through Strapi plugins.

To demonstrate how easy this is, we'll install the strapi-todo-plugin and add a To-Do feature to our Strapi application that will help manage our content.

Instructor: [0:00] To install a new plugin, open up our terminal, we'll stop our Strapi server and paste yarn add Strapi to do plugin to install our to do plugin. After our plugin has been installed, we'll type yarn build and yarn develop to start our Strapi server. We'll go back to our browser.

[0:16] If we check our plugins, we can now see that the to do plugin has been installed. When we go to our content manager and click an entry, we'll say, "To Jeannie, we now have a to do plugin here." We can click to do, edit author footnotes.

[0:37] Add to do, and now we have the ability to mark to do's out. If we go back, and navigate back, we have the data persisting for the specific content types. It isn't available for another entry say, untitled excerpt. We can add specific to those two untitled excerpt.

[0:56] We'll go back to our terminal, type git add to stage and git commit. Add a to do plugin. Then we'll push the Heroku. Now that our application is deployed, we can open our browser and in our content manager, we'll refresh. When we check plugins, we see that our to do plugin is installed.

[1:21] With this user, we'll edit to Jeanne and we'll say, "Inform Daniel too about post," and have...look at this and save. Then we go to our other tab, with our second user, we'll go to our content manager. We'll click to Jeanne and we can see our to do's, we'll say,"Have Daniel to look at this."

[1:46] That is me. I will click that. I'll go to this tab and refresh. We have that updated. That is how you install a plugin in your Strapi application.

egghead
egghead
~ an hour ago

Member comments are a way for members to communicate, interact, and ask questions about a lesson.

The instructor or someone from the community might respond to your question Here are a few basic guidelines to commenting on egghead.io

Be on-Topic

Comments are for discussing a lesson. If you're having a general issue with the website functionality, please contact us at support@egghead.io.

Avoid meta-discussion

  • This was great!
  • This was horrible!
  • I didn't like this because it didn't match my skill level.
  • +1 It will likely be deleted as spam.

Code Problems?

Should be accompanied by code! Codesandbox or Stackblitz provide a way to share code and discuss it in context

Details and Context

Vague question? Vague answer. Any details and context you can provide will lure more interesting answers!

Markdown supported.
Become a member to join the discussionEnroll Today