You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 18, 2024. It is now read-only.
I've been trying to get bootstrap to work with JSPM, but keep running into issues. I started a new project and went through the following steps:
$ yarn global add jspm@beta
$ jspm init # chose defaults on all except named the main file app.ts
$ jspm install [email protected]
$ touch src/app.ts
$ touch index.html
Downgrading to [email protected] appears to work fine. I'm assuming that is due to the systemjs property in the override which points to the correct main (dist/js/bootstrap.js).
Interestingly enough, when upgrading back to [email protected], it works, but this is because my package.json has kept the 3.3.6 overrides for some reason:
I've been trying to get bootstrap to work with JSPM, but keep running into issues. I started a new project and went through the following steps:
Add the following to
src/app.ts
:Add the following to
index.html
:When I serve that up, I see the following error:
When I take a look at the override for [email protected], I see this:
Looking in the bootstrap github repo (https://github.com/twbs/bootstrap/tree/v3.3.7/js), there is no
js/bootstrap.js
. This should bedist/js/bootstrap.js
.Downgrading to [email protected] appears to work fine. I'm assuming that is due to the
systemjs
property in the override which points to the correct main (dist/js/bootstrap.js
).Interestingly enough, when upgrading back to [email protected], it works, but this is because my package.json has kept the 3.3.6 overrides for some reason:
jspm version: 0.17.0-beta.40
systemjs version: SystemJS v0.20.9 Dev (bundles with jspm)
The text was updated successfully, but these errors were encountered: