tenex / rails-assets

The solution to assets management in Rails
https://rails-assets.org
MIT License
1.63k stars 69 forks source link

Error when require vvvmax--unitegallery #423

Closed marciojg closed 2 years ago

marciojg commented 6 years ago

Hi, @tenex and @joshjordan

You are can change the require of unitegallery component ?

Now is //= require vvvmax--unitegallery but the correct is //= require unitegallery

Thanks,

pedrofurtado commented 6 years ago

@marcioJesus

I added a component in Rails Assets website with the correct name ("unitegallery"). Please, check it out: https://rails-assets.org/#/components/unitegallery

Now you can require this library with something like this:

// app/assets/javascripts/application.js

/**
 *= require unitegallery
 */
pedrofurtado commented 6 years ago

@marcioJesus But be aware of fact that Rails Assets may not have all files from original repository (https://github.com/vvvmax/unitegallery), because it is only loaded the files declared in "main" bower.json directive.

Here you can check the main files of this library: https://github.com/vvvmax/unitegallery/blob/master/bower.json#L7-L9