I am new to web development, TypeScript/JavaScript, and their plugin development process. I want to extract a plugin from the site directory into a separate package, but unfortunately ran into some difficulties. I am looking for a simple way to create a package with a plugin and React component, but there are no official development workflow guides and this template also appears outdated.
- Is it necessary to have the "demo" site in the package folder? Maybe
yarn link or yarn add file:./path will work?
- How to make development faster? Without running
yarn run build && yarn run serve on every change?
- How to make development less annoying? Without changing plugin path in
docusaurus.config.js before pushing to github?
I am new to web development, TypeScript/JavaScript, and their plugin development process. I want to extract a plugin from the site directory into a separate package, but unfortunately ran into some difficulties. I am looking for a simple way to create a package with a plugin and React component, but there are no official development workflow guides and this template also appears outdated.
yarn linkoryarn add file:./pathwill work?yarn run build && yarn run serveon every change?docusaurus.config.jsbefore pushing to github?