bootstrap js on build
See original GitHub issuehi 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:
- Created 6 years ago
- Comments:9
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
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
Maybe you should read the documentation 😉 https://ng-bootstrap.github.io/#/components/dropdown/examples