0.1.5 • Published 4 months ago

@ynput/ayon-react-addon-provider v0.1.5

Weekly downloads
-
License
-
Repository
-
Last release
4 months ago

Ayon React Addon Provider

A React component that streamlines the development of frontend features for Ayon addons in React.

It simplifies basic styling and dependencies, establishes a connection to the parent app via a simple context manager, and allows for a stand-alone mode for use with a development server.

Addon development

Use .env file to provide necessary variables normally passed to the addon using window.onmessage:

Addon

SERVER_URL="http://localhost:5000"
VITE_ADDON_NAME="test"
VITE_ADDON_VERSION="0.0.1"
VITE_ADDON_SCOPE="project"
VITE_PROJECT_NAME="demo_Commercial"

When

TODO

  • Addon itself should define, in which scope it can run.
  • Project should be selectable from the standalone mode toolbar.

Preparing for production

Addon frontend must use relative paths to its static dependencies. In case of vite, add base: '' to your vite.config.js.

0.1.5

4 months ago

0.1.4

6 months ago

0.1.3

6 months ago

0.1.0

8 months ago

0.1.2

7 months ago

0.1.1

8 months ago

0.0.9

9 months ago

0.0.8

11 months ago

0.0.7

1 year ago

0.0.6

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago