File tree Expand file tree Collapse file tree 3 files changed +5
-3
lines changed
Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,8 @@ export function configureFramework(options: FrameworkOptions) {
1414 configuration : { ...options } as FrameworkOptions ,
1515 } ) ;
1616 if ( options . plugins ) {
17- options . plugins . forEach ( ( plugin ) => plugin ( ) ) ;
17+ options . plugins . forEach ( ( initializePlugin ) => {
18+ initializePlugin ( ) ;
19+ } ) ;
1820 }
1921}
Original file line number Diff line number Diff line change 11import { componentRegistry as cr } from "@/lib" ;
22
3- export default function initPlugin ( ) {
3+ export default function initializePlugin ( ) {
44 import ( "./Box" ) . then ( ( m ) => cr . register ( "Box" , m . Box ) ) ;
55 import ( "./Button" ) . then ( ( m ) => cr . register ( "Button" , m . Button ) ) ;
66 import ( "./Checkbox" ) . then ( ( m ) => cr . register ( "Checkbox" , m . Checkbox ) ) ;
Original file line number Diff line number Diff line change 11import { componentRegistry as cr } from "@/lib" ;
22
3- export default function initPlugin ( ) {
3+ export default function initializePlugin ( ) {
44 import ( "./VegaChart" ) . then ( ( m ) => cr . register ( "VegaChart" , m . VegaChart ) ) ;
55}
You can’t perform that action at this time.
0 commit comments