We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bd697d4 commit 9450dbfCopy full SHA for 9450dbf
src/components/index.js
@@ -1,12 +1,14 @@
1
import FormlyForm from './FormlyForm.vue';
2
+import FormlyField from './FormlyField.vue';
3
4
export default function(Vue){
5
Vue.component('formly-form', FormlyForm);
6
+
7
Vue.component('formly-field', (resolve) => {
8
/**
9
* FormlyField must be loaded asyncronously so that any fields added in
10
* via Formly.addType are available
11
*/
- require(['./FormlyField.vue'], resolve);
12
+ resolve(FormlyField);
13
});
14
}
0 commit comments