From e8aa42c4938d85c25f935d68083c1de6e6661f09 Mon Sep 17 00:00:00 2001 From: David Cheung Date: Thu, 8 Jul 2021 16:56:12 -0400 Subject: [PATCH] docs: `docusaurus clear` to load swizzle component --- website/docs/using-themes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/docs/using-themes.md b/website/docs/using-themes.md index cfd482ca4ce4..80b3e23247fd 100644 --- a/website/docs/using-themes.md +++ b/website/docs/using-themes.md @@ -126,7 +126,7 @@ Although we highly discourage swizzling of all components, if you wish to do tha npm run swizzle @docusaurus/theme-classic ``` -**Note**: You need to restart your webpack dev server in order for Docusaurus to know about the new component. +**Note**: You need to restart your webpack dev server and clear cache (`docusaurus clear`) in order for Docusaurus to know about the new component. ## Wrapping theme components {#wrapping-theme-components}