Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation via bower #3

Open
vnishukov opened this issue May 2, 2015 · 1 comment
Open

Installation via bower #3

vnishukov opened this issue May 2, 2015 · 1 comment

Comments

@vnishukov
Copy link

Hi friend. Let me thanks you for the great job.

I found a bug when I create a new application via yeoman bower and grunt and install your plug via bower.json like "thumbnail-scroller": "malihu/thumbnail-scroller#^2.0.0". So the bug is when I build my app via grunt - there are no <link rel="stylesheet" href="../bower_components/thumbnail-scroller/jquery.mThumbnailScroller.css" /> and <script src="../bower_components/thumbnail-scroller/jquery.mThumbnailScroller.js"> in the index.html. I digged out that is because of no
"main": [
"jquery.mThumbnailScroller.css",
"jquery.mThumbnailScroller.js"
]

in your bower.json file. When I temporary add it, all works fine. So could you be so kind to fix it?

My final version of .bower.json is:

{
"name": "thumbnail-scroller",
"homepage": "https://github.com/malihu/thumbnail-scroller",
"version": "2.0.2",
"_release": "2.0.2",
"_resolution": {
"type": "version",
"tag": "2.0.2",
"commit": "15343a06fef8d92c5f5f72aa72a6a62073caa68e"
},
"_source": "git://github.com/malihu/thumbnail-scroller.git",
"_target": "^2.0.0",
"_originalSource": "malihu/thumbnail-scroller",
"main": [
"jquery.mThumbnailScroller.css",
"jquery.mThumbnailScroller.js"
]
}

@MarioAraque
Copy link

+1 to add this plugin to Bower!

Excellent job @malihu

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants