File tree Expand file tree Collapse file tree 3 files changed +5
-1
lines changed
Expand file tree Collapse file tree 3 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -20,3 +20,5 @@ AutoForm._formTypeDefinitions = {} // for storing submit type definitions added
2020
2121// Used by AutoForm._forceResetFormValues; temporary hack
2222AutoForm . _destroyForm = { }
23+
24+ module . exports . AutoForm = AutoForm
Original file line number Diff line number Diff line change @@ -100,3 +100,5 @@ import './components/afQuickFields/afQuickFields.js'
100100import './autoform-events.js'
101101
102102AutoForm . load = ( ) => { } // keep isomorph with dynamic version
103+
104+ export { AutoForm } from './autoform'
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ import 'bootstrap'
22import 'bootstrap/dist/css/bootstrap.css' // optional, default theme
33import popper from '@popperjs/core'
44import { AutoFormThemeBootstrap5 } from 'meteor/communitypackages:autoform-bootstrap5/static'
5- import 'meteor/aldeed:autoform/static'
5+ import { AutoForm } from 'meteor/aldeed:autoform/static'
66
77AutoForm . load ( )
88AutoFormThemeBootstrap5 . load ( )
You can’t perform that action at this time.
0 commit comments