Skip to content

Bootstrap UI Components don't work #703

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

Closed
Nolanus opened this issue Nov 19, 2014 · 2 comments
Closed

Bootstrap UI Components don't work #703

Nolanus opened this issue Nov 19, 2014 · 2 comments
Labels

Comments

@Nolanus
Copy link

Nolanus commented Nov 19, 2014

I just created 3 fresh projects using angular-fullstack generator and all suffer from non working bootstrap components. No other changes have been applied to any files (running Windows 7, nodeJs v0.10.32)
My generator configuration:

# Client

? What would you like to write scripts with?: JavaScript
? What would you like to write markup with?: HTML
? What would you like to write stylesheets with?: Sass
? What Angular router would you like to use?: uiRouter
? Would you like to include Bootstrap?: Yes
? Would you like to include UI Bootstrap?: Yes

# Server

? Would you like to use mongoDB with Mongoose for data modeling?: Yes
? Would you scaffold out an authentication boilerplate?: Yes
? Would you like to include additional oAuth strategies?: Google
? Would you like to use socket.io?: Yes

Another time I did not use Mongoose and I tried without Sass.

The non-working can easily be seen when hovering over the List at the bottom, which should bring up a tooltip. Adding other bootstrap components to the page does not work either.

@ramdog
Copy link
Contributor

ramdog commented Nov 28, 2014

I also ran into something similar. I think it's related to this:
#655

As noted by @sigriston,

Ever since angular 1.3 hit bower (I think), the version spec of ">=1.2.*" causes angular 1.3.0 to be >installed. However, package angular-socket-io still depends on "~1.2.6" causing a conflict.

In this case, rather than angular-socket-io, the issue is with angular-bootstrap, which does not yet support angular 1.3.x. If you want to be safe, I would suggest making the same changes from that PR #655 (at least to your bower.json), then running bower install from the root of your project.

As a side note, if you are set on sticking with 1.3 I found that this suggested fix (angular-ui/bootstrap#2927 (comment)) of listing all the attributes, required and optional, of the bootstrap directive which seems to make at least some of the bootstrap directives work. That said, I can't say what else might break if you stick with angular 1.3. Curious to know if others using 1.3 have been running into any other issues.

@JaKXz JaKXz added the question label Mar 5, 2015
@Awk34
Copy link
Member

Awk34 commented Jul 14, 2015

Seems to be working ATM

@Awk34 Awk34 closed this as completed Jul 14, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants