γ½οΈLocal plugin development
Clone your repo using git
git clone https://github.com/GITHUB_USERNAME/GITHUB_REPO.git
cd GITHUB_REPOThen, install packages:
pnpm iInstall the http-server package globally:
npm i http-server -gThen, open two terminal windows and run:
Pick the IP address that starts with 192.168...
> http-server dist --port XXXX
Starting up http-server, serving dist
...
Available on:
http://**.**.***.***:XXXX
http://192.168.**.**:XXXX
http://***.*.*.*:XXXThis command should be ran every time you make a change to one of your plugins:
> pnpm build
Successfully built Template Plugin!Depending on which template you chose, the plugin's local IP will be different:
If you chose the monorepo template:
http://192.168.**.**:XXXX/PLUGIN_NAME
If you chose the seperate repo template:
http://192.168.**.**:XXXX
Last updated
Was this helpful?