〽️Local plugin development

This guide is PC only

If you're using vscode.dev, you may skip this guide

Clone your repo using git

git clone https://github.com/GITHUB_USERNAME/GITHUB_REPO.git
cd GITHUB_REPO

Then, install packages:

pnpm i

Install the http-server package globally:

npm i http-server -g

Then, 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://***.*.*.*:XXX

Make sure your phone is connected to the same network as your PC

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?