Default config
Register plugin's default config
What is defaultConfig?
import DashboardPlugin from 'Dashboard/plugin'
const Plugin = new DashboardPlugin('@plugin_bundle')
const registerPlugin = () => {
const { Application } = require('@components/Application')
Plugin.register({
application: Application,
defaultConfig: {
applicationKey: 'xxxx-xx-xxxxx-x-xxx'
}
})
}
registerPlugin()
export {
Plugin
}Last updated