File tree 3 files changed +5
-1
lines changed
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
20
20
21
21
// Used by AutoForm._forceResetFormValues; temporary hack
22
22
AutoForm . _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'
100
100
import './autoform-events.js'
101
101
102
102
AutoForm . 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'
2
2
import 'bootstrap/dist/css/bootstrap.css' // optional, default theme
3
3
import popper from '@popperjs/core'
4
4
import { AutoFormThemeBootstrap5 } from 'meteor/communitypackages:autoform-bootstrap5/static'
5
- import 'meteor/aldeed:autoform/static'
5
+ import { AutoForm } from 'meteor/aldeed:autoform/static'
6
6
7
7
AutoForm . load ( )
8
8
AutoFormThemeBootstrap5 . load ( )
You can’t perform that action at this time.
0 commit comments