RuntimePlugin[]
[]
Used to configure custom Modern.js Runtime plugins. For details on how to create custom Runtime plugins, please refer to How to Write Runtime Plugins.
Runtime plugins must be configured in the plugins
array within the src/modern.runtime.ts
file.
Here are examples demonstrating how to use Runtime plugins:
To use plugins published on npm, first install them via your package manager, then import them into your configuration.
To use plugins from your local codebase, import them directly using relative paths.
If a plugin supports custom configuration options, you can provide them as arguments to the plugin function.