Title: Need more documentation for using assets · Issue #2913 · angular/angular-cli · GitHub
Open Graph Title: Need more documentation for using assets · Issue #2913 · angular/angular-cli
X Title: Need more documentation for using assets · Issue #2913 · angular/angular-cli
Description: Until angular-cli beta 16 I can place an asset (e.g. image) file in an arbitrary folder. When the file is referenced from an HTML template with relative path and then an "ng build" is done, we find this file with a new egneric name in th...
Open Graph Description: Until angular-cli beta 16 I can place an asset (e.g. image) file in an arbitrary folder. When the file is referenced from an HTML template with relative path and then an "ng build" is done, we find...
X Description: Until angular-cli beta 16 I can place an asset (e.g. image) file in an arbitrary folder. When the file is referenced from an HTML template with relative path and then an "ng build" is don...
Opengraph URL: https://github.com/angular/angular-cli/issues/2913
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Need more documentation for using assets ","articleBody":"Until angular-cli beta 16 I can place an asset (e.g. image) file in an arbitrary folder. When the file is referenced from an HTML template with relative path and then an \"ng build\" is done, we find this file with a new egneric name in the dist folder. When an asset is referenced with a non existing path then we cat a build error saying the file does not exist.\n\nStarting form angular-cli beta 17 it seems that there is a new behavior. Only files that are in the assets folder are copied to the dist folder. References in HTML files to other assets ar ignored and also non existing paths are ignored.\n\nIs there a documentation about that and how can I control this behavior?\n","author":{"url":"https://github.com/guidoffm","@type":"Person","name":"guidoffm"},"datePublished":"2016-10-27T10:14:52.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/2913/angular-cli/issues/2913"}
| 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:a5cad8b6-5092-27bf-95a6-424135a27bef |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | EA4E:3F9A9A:21CB427:2FE9B0C:6978FFBC |
| html-safe-nonce | 6363a37563177765c084223d4ca4439f027b9419252bec72be4490e22f25a19a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQTRFOjNGOUE5QToyMUNCNDI3OjJGRTlCMEM6Njk3OEZGQkMiLCJ2aXNpdG9yX2lkIjoiNjE1MjkzMzEyNzQwMTA0NTk0OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 00dbfe70b9d444df623fe658da8e04b2ff95399981785ca35793369277ffdd0a |
| hovercard-subject-tag | issue:185627618 |
| 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/2913/issue_layout |
| twitter:image | https://opengraph.githubassets.com/ba50505a2dfbc527b04ced0b7ba8d1d24ba9f7991dc12d688509eb2cd642ce92/angular/angular-cli/issues/2913 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ba50505a2dfbc527b04ced0b7ba8d1d24ba9f7991dc12d688509eb2cd642ce92/angular/angular-cli/issues/2913 |
| og:image:alt | Until angular-cli beta 16 I can place an asset (e.g. image) file in an arbitrary folder. When the file is referenced from an HTML template with relative path and then an "ng build" is done, we find... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | guidoffm |
| hostname | github.com |
| expected-hostname | github.com |
| None | 6ea7ee451781d61a7d52349482d8542aa79fb260ac3eee5bdb5bc3254706e297 |
| 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 | 26d23265f5ce81c7eb01d7a436e9442b19d30bc6 |
| ui-target | canary-1 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width