Ember-Validations: Installation

I have an Ember-CLI application which is very heavy.

I started using Ember Forms to help with layout and templates, which is nice and seems to work fine.

Apparently, verification requires a Verification of the shipyard at the shipyards ... This particular dependency seems to be installed differently, and I'm lost in how to do it.

I use something simple, for example bower install ..., and then just add a dependency to brocfile, but in this case, Dockyard provides a huge list of collections 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 in order to play well with ember forms? Or maybe it's actually easier than I think, and I just drop all the assemblies to choose from?

+4
source share
1 answer

To install it, you can manually add the assembly url to bower.json

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

And after this start bower installit should work fine.

Hope this helps.

+8
source

Source: https://habr.com/ru/post/1546900/


All Articles