0.0.7 • Published 2 months ago

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

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

Ayon Addon Provider

AAP is 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.0.7

2 months ago

0.0.6

11 months ago

0.0.5

12 months ago

0.0.4

12 months ago

0.0.3

12 months ago

0.0.2

12 months ago

0.0.1

1 year ago