📚
Vendetta Plugin Docs
Contribute
  • ⏰Progress
  • â„šī¸Meta
    • 🔰Getting started
    • đŸ› ī¸Tools
  • 📚Guides
    • 📃Setting up
    • ã€Ŋī¸Local plugin development
    • 📜Manifest
    • 👂Plugin entrypoint
  • 🔰Examples
    • Self destruct plugin
Powered by GitBook
On this page

Was this helpful?

  1. Guides

Local plugin development

PreviousSetting upNextManifest

Last updated 1 year ago

Was this helpful?

This guide is PC only

If you're using , you may skip this guide

Clone your repo using

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

This command should be ran every time you make a change to one of your plugins:

> pnpm build

Successfully built Template Plugin!

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

📚
ã€Ŋī¸
vscode.dev
git