Closed forestjohnsonilm closed 9 years ago
Wop, not sure what I put the extension when I don't do that in my other libraries.
It is weird that JSPM will append the extension again.
We hope to release a new version soon as well so this merge will be there.
Any chance to release a hotfix
-version 0.13.2.
to include this fix?
We will make a new release this weekend with fully angular 1.4 support.
On the other hand, I tried this package with JSPM and works fine for me with the .js
.
I just did a:
import uibs from 'angular-ui-bootstrap'
@Foxandxss Great, thanks!
BTW: No way to use the import
statement your have mentioned before. How does your jspm.config.js
look? Because I'm wondering about using angular-ui-bootstrap
instead of angular-bootstrap
.
@sectore You have to use angular-ui-bootstrap
not angular-bootstrap
.
angular-ui-bootstrap
is the only package we support and it works with JSPM out of the box.
@Foxandxss Have you run jspm install angular-bootstrap
or jspm install angular-ui-bootstrap
to install the package? I got the following error using last one:
jspm install angular-ui-bootstrap --save
Updating registry cache...
err Repo jspm:angular-ui-bootstrap not found!
@sectore that error is normal. JSPM has its own repository of packages and we are not there, so you need to do:
jspm install --save npm:angular-ui-bootstrap
@Foxandxss: Got it! Thanks for your help and keep up the great work :metal:
require('./ui-bootstrap-tpls.js') is wrong. it should not have a .js extension.
when I try to load the package in jspm, I am getting a 404 looking for ui-bootstrap-tpls.js.js