cretueusebiu / vform

Handle Laravel-Vue forms and validation with ease.
https://vform.vercel.app
MIT License
610 stars 122 forks source link

v form version update error #123

Closed ITApexGroup closed 3 years ago

ITApexGroup commented 3 years ago

I use vform with cdn ( https://unpkg.com/vform ). It worked before 4 days ago. But, not working after latest version released.

Error example, const { Form, HasError, AlertError } = window.vform;

The code is undefined error. So, how to fix?

cretueusebiu commented 3 years ago

v2 doesn't include the Vue components anymore. You'll have to use a build system to use v2 with components.

If you still want to use the old version you can simply pin it to a specific version: https://unpkg.com/vform@1.0.1/dist/vform.umd.js

ITApexGroup commented 3 years ago

Thanks