Skip to content

An example Spaces plugin which uses React to create a panel interface.

Notifications You must be signed in to change notification settings

VatomInc/vatom-spaces-example-react

Repository files navigation

Vatom Spaces: Example React Plugin 🔌

This example plugin shows how to build a Spaces plugin that uses React for creating a panel.

Building the plugin

  • Ensure you have Node.js installed.
  • Install dependencies: npm install
  • Build the plugin: npm run build

Developing locally

  • Start the dev server: npm start
  • Load the plugin in your space. Select Plugins, press the (+) icon and then paste the address: http://localhost:9000/plugin.js
  • After making code changes, refresh the page

Note: You can only sideload plugins in a space you are the owner of.

Publishing the plugin

  • Run: npm run publish

About

An example Spaces plugin which uses React to create a panel interface.

Resources

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published