Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.supernote.com/llms.txt

Use this file to discover all available pages before exploring further.

This API must be called; otherwise the plugin cannot run. Call it once as early as possible at startup (multiple calls are ignored). Preferably call it immediately after AppRegistry.registerComponent.
async init(): Promise<void>;

Example

import { PluginManager } from 'sn-plugin-lib';

/**
 * Example: initialize plugin environment.
 */
export async function exampleInit() {
 await PluginManager.init();
}