Skip to content

Installation issue when using jsdelivr CDN  #61

@chosunosu

Description

@chosunosu

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.

I think there are two ways for new/inexperienced users to avoid this issue.

  1. Set the default file to formulate.min.js instead of formulate.umd.min.js
  2. 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! 👍

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions