Title: angular-cli.json styles/scripts block do not load css/js file · Issue #2843 · angular/angular-cli · GitHub
Open Graph Title: angular-cli.json styles/scripts block do not load css/js file · Issue #2843 · angular/angular-cli
X Title: angular-cli.json styles/scripts block do not load css/js file · Issue #2843 · angular/angular-cli
Description: OS? angular-cli: 1.0.0-beta.18 node: 6.9.0 os: linux x64 Versions. angular-cli: 1.0.0-beta.18 node: 6.9.0 os: linux x64 Repro steps. add bootstrap css file like this "styles": [ "../node_modules/bootstrap/dist/css/bootstrap.css", "styles...
Open Graph Description: OS? angular-cli: 1.0.0-beta.18 node: 6.9.0 os: linux x64 Versions. angular-cli: 1.0.0-beta.18 node: 6.9.0 os: linux x64 Repro steps. add bootstrap css file like this "styles": [ "../node_modules/bo...
X Description: OS? angular-cli: 1.0.0-beta.18 node: 6.9.0 os: linux x64 Versions. angular-cli: 1.0.0-beta.18 node: 6.9.0 os: linux x64 Repro steps. add bootstrap css file like this "styles": [ "../...
Opengraph URL: https://github.com/angular/angular-cli/issues/2843
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"angular-cli.json styles/scripts block do not load css/js file","articleBody":"### OS?\n\nangular-cli: 1.0.0-beta.18\nnode: 6.9.0\nos: linux x64\n### Versions.\n\nangular-cli: 1.0.0-beta.18\nnode: 6.9.0\nos: linux x64\n### Repro steps.\n\nadd bootstrap css file like this\n\n``` javascript\n \"styles\": [\n \"../node_modules/bootstrap/dist/css/bootstrap.css\",\n \"styles.scss\"\n ],\n```\n\nand run **ng serve**\n\nall pass no error\n\n**style.bundle.js** has load ,but not inject style element into HTML\n### The log given by the failure.\n\n**no error info**\n### Mention any other details that might be useful.\n\n**same as scripts block**\n\nhas load **script.bundle.js** but not work\n\n``` javascript\n \"scripts\": [\n \"../node_modules/jquery/dist/jquery.min.js\",\n \"../node_modules/bootstrap/dist/js/bootstrap.min.js\",\n \"../node_modules/moment/min/moment.min.js\",\n \"../node_modules/underscore/underscore-min.js\"\n ],\n```\n\nIf i remember correctly, beta17 still working\n","author":{"url":"https://github.com/axetroy","@type":"Person","name":"axetroy"},"datePublished":"2016-10-23T17:09:47.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":22},"url":"https://github.com/2843/angular-cli/issues/2843"}
| 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:6736d30f-90ee-538f-4f20-d4a1ac38ee46 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A174:14AB50:B4E4D33:EA88F1C:6976823C |
| html-safe-nonce | 587f3ae13d2bac8fce28f90c6bb58846e0c315c238cb5d985e5514b1fb343fb3 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMTc0OjE0QUI1MDpCNEU0RDMzOkVBODhGMUM6Njk3NjgyM0MiLCJ2aXNpdG9yX2lkIjoiMzg4NTQ2ODg1Mzc2NzA1MDg0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 1d2682d51e60d383869e45802f5048a26f5ce4559428bb7d3344b6bb2cd63e54 |
| hovercard-subject-tag | issue:184701721 |
| 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/2843/issue_layout |
| twitter:image | https://opengraph.githubassets.com/35453ea7a4902970446352777e9fc458ca878cb7f0d08c7d23d6ce0999c041fb/angular/angular-cli/issues/2843 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/35453ea7a4902970446352777e9fc458ca878cb7f0d08c7d23d6ce0999c041fb/angular/angular-cli/issues/2843 |
| og:image:alt | OS? angular-cli: 1.0.0-beta.18 node: 6.9.0 os: linux x64 Versions. angular-cli: 1.0.0-beta.18 node: 6.9.0 os: linux x64 Repro steps. add bootstrap css file like this "styles": [ "../node_modules/bo... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | axetroy |
| hostname | github.com |
| expected-hostname | github.com |
| None | 032152924a283b83384255d9489e7b93b54ba01da8d380b05ecd3953b3212411 |
| 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 | 5b577f6be6482e336e3c30e8daefa30144947b17 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width