-
Notifications
You must be signed in to change notification settings - Fork 52
Description
First, let me say that Vue Formulate is pretty awesome and it definitely made my easier when creating forms.
I had used Vue Formulate using npm but for testing purposes I needed to use the minified version using the one linked in the installation page. I copied the link to the default min.js file that is shown but ended up with lots of errors.
After some investigation, I believe it's because the default link is to the UMD version. As someone new to Vue and JavaScript, I wasn't able to first discern the differences in the listed files.
I found two instances where similar issues occurred from using the UMD version (and the answers did not address the issue) combined with other issues that prevent proper loading.
- https://forum.vuejs.org/t/how-do-imports-work/98543
- https://stackoverflow.com/questions/62608034/using-vue-formulate-with-a-schema
I think there are two ways for new/inexperienced users to avoid this issue.
- Set the default file to formulate.min.js instead of formulate.umd.min.js
- Provide additional guidelines when using the CDN package (such as not needing import statements, only needing Vue.use(VueFormulate) in the script section and using forumlate.min.js).
I look forward to hearing your thoughts! 👍