Title: How to install bootstrap + jQuery · Issue #1746 · angular/angular-cli · GitHub
Open Graph Title: How to install bootstrap + jQuery · Issue #1746 · angular/angular-cli
X Title: How to install bootstrap + jQuery · Issue #1746 · angular/angular-cli
Description: Please provide us with the following information: OS? Windows 7, 8 or 10. Linux (which distribution). Mac OSX (Yosemite? El Capitan?) Windows 10 Versions. Please run ng --version. If there's nothing outputted, please run in a Terminal: n...
Open Graph Description: Please provide us with the following information: OS? Windows 7, 8 or 10. Linux (which distribution). Mac OSX (Yosemite? El Capitan?) Windows 10 Versions. Please run ng --version. If there's nothin...
X Description: Please provide us with the following information: OS? Windows 7, 8 or 10. Linux (which distribution). Mac OSX (Yosemite? El Capitan?) Windows 10 Versions. Please run ng --version. If there's no...
Opengraph URL: https://github.com/angular/angular-cli/issues/1746
X: @github
Domain: github.com
IPv4 address: 140.82.113.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"How to install bootstrap + jQuery","articleBody":"> ## Please provide us with the following information:\n1. OS? Windows 7, 8 or 10. Linux (which distribution). Mac OSX (Yosemite? El Capitan?)\n Windows 10\n2. Versions. Please run `ng --version`. If there's nothing outputted, please run\n in a Terminal: `node --version` and paste the result here:\n angular-cli: 1.0.0-beta.11-webpack.2\n node: 4.4.4\n os: win32 x64\n3. Repro steps. Was this an app that wasn't created using the CLI? What change did you\n do on your code? etc.\n None required.\n4. The log given by the failure. Normally this include a stack trace and some\n more information.\n None required.\n5. Mention any other details that might be useful.\n\nRight now, I'm using the following code to include bootstrap CSS into my project:\n\n```\n@Component({\n selector: 'app-root',\n templateUrl: 'app.component.html',\n styleUrls: ['app.component.css', 'shared/bootstrap.min.css'],\n encapsulation: ViewEncapsulation.None\n})\n```\n\nAs you can see, I am basically injecting the stylesheet globally in AppComponent. \n\nThis works fine and the bootstrap CSS is injected into the main.bundle and I can reference the classes (ng2-bootstrap), but some of the javascript does not work since it needs the bootstrap.min.js (eg. opening and closing a modal).\n\nI'm wondering, how do I solve this issue and have libraries I need injected without referencing them in index.html? I don't see a webpack config file to use, so I was wondering the way to do it properly.\n","author":{"url":"https://github.com/StevePavlin","@type":"Person","name":"StevePavlin"},"datePublished":"2016-08-18T23:14:58Z","url":"https://github.com/angular/angular-cli/issues/1746"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:4a36bd46-5e03-85d8-cc75-0d3e549123cf |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E158:3179F7:2121277:2BA4356:6B05734E |
| html-safe-nonce | 6fc4469e89e432c2493db320d5c947abc72c7c93d617cd88844a3001c8d6ccb2 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMTU4OjMxNzlGNzoyMTIxMjc3OjJCQTQzNTY6NkIwNTczNEUiLCJ2aXNpdG9yX2lkIjoiMjExMTMzNDQyOTQ2MzMxNDcwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 67497004db1123d1c8755a1e6c928b449d348aea7d97fda1139c7ddf2043cf20 |
| hovercard-subject-tag | issue:172022180 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/angular/angular-cli/1746/issue_layout |
| twitter:image | https://opengraph.githubassets.com/234626c65da918bc8ada0a5beebe38870e779a9129c2ae9732afc62e53bd0586/angular/angular-cli/issues/1746 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/234626c65da918bc8ada0a5beebe38870e779a9129c2ae9732afc62e53bd0586/angular/angular-cli/issues/1746 |
| og:image:alt | Please provide us with the following information: OS? Windows 7, 8 or 10. Linux (which distribution). Mac OSX (Yosemite? El Capitan?) Windows 10 Versions. Please run ng --version. If there's nothin... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | StevePavlin |
| hostname | github.com |
| expected-hostname | github.com |
| None | 507b2d62524c0f595c35a2a2ee8a6ec54b119f245b3c59eaa070013b70ed1ada |
| turbo-cache-control | no-preview |
| go-import | github.com/angular/angular-cli git https://github.com/angular/angular-cli.git |
| octolytics-dimension-user_id | 139426 |
| octolytics-dimension-user_login | angular |
| octolytics-dimension-repository_id | 36891867 |
| octolytics-dimension-repository_nwo | angular/angular-cli |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 36891867 |
| octolytics-dimension-repository_network_root_nwo | angular/angular-cli |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | e7a883ae3b439b8952652eaa7803e2587f30e339 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width