docusaurus-plugin-devserver-proxy
v1.0.5
Published
A Docusaurus v2 plugin!
Downloads
4
Readme
template-docusaurus-plugin
A Docusaurus plugin template.
Alright, how do I use this?
It isn't really that hard. Follow these simple steps!:
- Make a new repository using this template.
- Clone that repository locally using your IDE of choice.
- Edit
src/index.ts
. - Run
yarn build
. - Open a second terminal, and make the working directory the
testsite
. - Start the test site.
- You now have the test site running your plugin.
When you update the plugin, in order to preview your changes on the test site, you need to:
- Use the first shell you opened to re-run
yarn build
(in the repository's root directory). - In the second shell,
Control+C
(orCommand+C
on macOS) the running Docusaurus dev server, and re-runyarn start
.