sethsandaru / vue-form-builder

Super Form Builder built on top of Vue with Drag & Drop functionality, savable-form-schema and easy to maintain/upgrade your form.
http://vue-form-builder.sethphat.com
MIT License
413 stars 129 forks source link

Uncaught TypeError: Cannot set property 'TimePicker' of undefined #13

Closed srober12 closed 5 years ago

srober12 commented 5 years ago

Grabbed the latest version from NPM and when I try to load either of the dist scripts it throws the error in the title. I'm probably missing something obvious, but havent figured it out yet.

Vue.js v2.5.16 jQuery v3.3.1 jQuery UI - v1.12.1 Bootstrap v4.1.3

<script type="module" src="/lib/v-form-builder/vue-form-builder.min.js"></script>

or

<script type="text/javascript" src="/lib/v-form-builder/dist/vue-form-builder.browser.min.js"></script>
sethsandaru commented 5 years ago

Hi there,

Currently the library cannot be able to imported directly by using script src thing. You have to create your own webpack project (with Vue) and build it to use. You can use Vue Simple Project to get started (easy and small)

For the vue-form-builder.browser.min.js, I'm still working on that.

Thank you!