question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

bootstrap js on build

See original GitHub issue

hi everyone, I’m using it project with bootstrap. When I use in devlopment mode, everything go well, but when I try to use with npm run electron:mac the modal (bootstrap) does not work

Can someone help me?

.angular-cli.js:

"scripts": [
   "../node_modules/jquery/dist/jquery.min.js",
   "../node_modules/bootstrap/dist/js/bootstrap.min.js"
],
...

webpack-config.js:

const scripts = [
  "./node_modules/jquery/dist/jquery.min.js",
  "./node_modules/bootstrap/dist/js/bootstrap.min.js"
];

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:9

github_iconTop GitHub Comments

1reaction
jpiwekcommented, Mar 12, 2018

yes you are right. I assume I used a ngx-bootstrap example…that’s why it doesn’t work. Now I get the picture!

Thanks for help Piwi

0reactions
readme42commented, Mar 12, 2018

Maybe you should read the documentation 😉 https://ng-bootstrap.github.io/#/components/dropdown/examples

Read more comments on GitHub >

github_iconTop Results From Across the Web

Build tools - Bootstrap
Tooling setup · Download and install Node.js, which we use to manage our dependencies. · Navigate to the root /bootstrap directory and run...
Read more >
Build tools · Bootstrap v5.0
Compiles CSS and JavaScript, builds the documentation, and starts a local server. npm run dist, Creates the dist/ directory with compiled files. Requires...
Read more >
Webpack - Bootstrap
Learn how to include Bootstrap in your project using Webpack 3. Installing Bootstrap. Install bootstrap as a Node.js module using npm. Importing JavaScript....
Read more >
Introduction - Bootstrap
jQuery must come first, then Popper.js, and then our JavaScript plugins. We use jQuery's slim build, but the full version is also supported....
Read more >
Getting started - Bootstrap
grunt docs (Build & test the docs assets). Builds and tests CSS, JavaScript, and other assets which are used when running the documentation...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found