module.exports.default = { template: "
Test custom setting {{ setting.id }}. This is from component.js in the plugin/theme's directory. (It can use functions.)
", props: ['setting', 'change'] }; const component = { template: "
Test custom setting {{ setting.id }}. Also in component.js. It extends the CustomSetting class.
", props: ['setting', 'change'] }; module.exports.CustomSetting = function (CustomSetting) { return class extends CustomSetting { get component() { return component; } get debug() { return true; } } };