balderdashy / sails

Realtime MVC Framework for Node.js
https://sailsjs.com
MIT License
22.84k stars 1.95k forks source link

Issues with importing Vuelidate Library #7131

Open shreyas-mallya opened 3 years ago

shreyas-mallya commented 3 years ago

Node version: v14.17.0 Sails version (sails): 1.3.1 ORM hook version (sails-hook-orm): 2.1.1 Sockets hook version (sails-hook-sockets): 2.0.0 Organics hook version (sails-hook-organics): 2.2.0 Grunt hook version (sails-hook-grunt): 4.0.1 DB adapter & version (e.g. sails-mysql@5.55.5): sails-mysql@1.0.1


I want to use Vuelidate for Field Validation for a form on a Sails.js page. But, I am having issues with importing Vuelidate library using import/require().

You can get more info in this Link to my Question. Does this question require more detail or different labels for better categorization/visibility?

sailsbot commented 3 years ago

@shreyas-mallya Thanks for posting! We'll take a look as soon as possible.

In the mean time, there are a few ways you can help speed things along:

Please remember: never post in a public forum if you believe you've found a genuine security vulnerability. Instead, disclose it responsibly.

For help with questions about Sails, click here.

eashaw commented 3 years ago

Hi @shreyas-mallya, The best way for you to add Vuelidate would be downloading and adding vuelidate.min.js to assets/dependencies and using it with the Vuelidate global

shreyas-mallya commented 3 years ago

Tried it out, worked like a charm...