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

less v1.3.0 doesn't work with bootstrap v2.0.3 #3509

Closed
ghost opened this issue May 16, 2012 · 7 comments
Closed

less v1.3.0 doesn't work with bootstrap v2.0.3 #3509

ghost opened this issue May 16, 2012 · 7 comments

Comments

@ghost
Copy link

ghost commented May 16, 2012

for some reason i can't make this work... any clue?

@mchiocca
Copy link

Strange. I'm using less v1.3.0 in my web site and everything seems to be working just fine. I include a .less file in a link tag and then the less-1.3.0.min.js in a script tag in all of my html files and the styling is working perfectly.

Update: I'm using Bootstrap 2.0.3 with less 1.3.0 and everything works fine for me.

@ghost
Copy link
Author

ghost commented May 16, 2012

i am trying that all day and i can't make it work. less works fine in other projects, but it doesn't work with bootstrap! :/
i am going to make another attempt and report back.

@ghost
Copy link
Author

ghost commented May 17, 2012

am i doing this right?

<link rel="stylesheet/less" type="text/css" href="less/bootstrap.less">
<script src="less-1.3.0.min.js" type="text/javascript"></script>

this is my files tree:

.
`-- index.html
`-- less-1.3.0.min.js
`-- less
   `-- bootstrap.less

bootstrap.less imports every other less file, therefore my h1's, h2's and p's should be bootstrapped, right?

@mchiocca
Copy link

Looks correct according to the Usage section on http://www.lesscss.org. Are all of the .less files that bootstrap.less @imports also included in the less directory?

@ghost
Copy link
Author

ghost commented May 17, 2012

yes they are all in the less directory. it's actually a bootstrap git clone (that's how the git repo has them).

@mdo
Copy link
Member

mdo commented May 18, 2012

Sorry, this isn't within our realm of support—you'll want to ask on the LESS side or on our mailing list. We also don't use the javascript version in our docs if that's what you mean, but this should work.

@mdo mdo closed this as completed May 18, 2012
@ghost
Copy link
Author

ghost commented May 18, 2012

okay then. thanks.

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