UNPKG

@wonderlandengine/editor-api

Version:

Wonderland Engine's Editor API for plugins - very experimental.

25 lines (15 loc) 664 B
# Wonderland Editor JavaScript/TypeScript Plugin API API to extend the Wonderland Editor with JavaScript or TypeScript. **Note:** This package requires version 1.2.4 of Wonderland Engine. Learn more about Wonderland Engine in the [documentation](https://wonderlandengine.com/editor/plugins/). # How to use Create a new plugin project: ```sh npm init ``` Add a "wonderlandengine" key in your `package.json`. Now install the API: ```sh npm i --save @wonderlandengine/editor-api ``` And create your first plugin! That plugin can be used in any Wonderland Engine project by [installing the directory](https://wonderlandengine.com/editor/plugins#development).