Let's discover how to create a plugin for Docusaurus 2!
We'll see how to start a new plugin from scratch, add elements to the page, add a new CLI object and adding a plugin configuration and validation.
Content:
00:00 Intro
00:53 Adding a new plugin to configuration
01:53 Lifecycle Methods
03:40 New CLI Command
05:35 Adding settings
06:43 Validating plugin settings
10:12 Wrap up
Previous Videos:
Getting started: • Docusaurus from ZERO t...
Customizing theme: • Customize the theme in...
Algolia Search: • How to add search func...
GitHub: github.com/mimo84/
Twitter: / mostly_code
23 июл 2024