Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Ember-Validations: Installation

I have an Ember-CLI application that is very form heavy.

I started using Ember Forms to help with layout and templating, which is nice and seems to be working fine.

Apparently for validation, it requires Dockyard's Ember-Validation as well... This particular dependency seems to be installed differently and I am lost as how to do this.

I am used to using something simple like bower install ... and then just adding the dependency in brocfile, but in this case, Dockyard provides a huge list of builds to choose from and I have no idea which one to use?

Does anyone have experience installing ember-validation in an ember-cli project and getting to play nicely with ember-forms? Or perhaps it is actually more simple than I think, and I am just getting thrown off by all the builds to choose from?

like image 682
Grapho Avatar asked Feb 12 '23 14:02

Grapho


1 Answers

To install it you can add manually the url to the build in bower.json

"ember-validations": "http://builds.dockyard.com.s3.amazonaws.com/ember-validations/ember-validations-latest.js",

And after that run bower install it should work fine.

Hope it helps.

like image 134
Altrim Avatar answered Feb 22 '23 11:02

Altrim