Title: Absolute or Relative templateUrls for Angular Components aot · Issue #8633 · angular/angular-cli · GitHub
Open Graph Title: Absolute or Relative templateUrls for Angular Components aot · Issue #8633 · angular/angular-cli
X Title: Absolute or Relative templateUrls for Angular Components aot · Issue #8633 · angular/angular-cli
Description: angular/cli: 1.5.3 angular-devkit/build-optimizer: 0.0.33 angular-devkit/core: 0.0.20 angular-devkit/schematics: 0.0.36 ngtools/json-schema: 1.1.0 ngtools/webpack: 1.8.3 schematics/angular: 0.1.5 typescript: 2.6.1 webpack-bundle-analyzer...
Open Graph Description: angular/cli: 1.5.3 angular-devkit/build-optimizer: 0.0.33 angular-devkit/core: 0.0.20 angular-devkit/schematics: 0.0.36 ngtools/json-schema: 1.1.0 ngtools/webpack: 1.8.3 schematics/angular: 0.1.5 t...
X Description: angular/cli: 1.5.3 angular-devkit/build-optimizer: 0.0.33 angular-devkit/core: 0.0.20 angular-devkit/schematics: 0.0.36 ngtools/json-schema: 1.1.0 ngtools/webpack: 1.8.3 schematics/angular: 0.1.5 t...
Opengraph URL: https://github.com/angular/angular-cli/issues/8633
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Absolute or Relative templateUrls for Angular Components aot","articleBody":"angular/cli: 1.5.3\r\nangular-devkit/build-optimizer: 0.0.33\r\nangular-devkit/core: 0.0.20\r\nangular-devkit/schematics: 0.0.36\r\nngtools/json-schema: 1.1.0\r\nngtools/webpack: 1.8.3\r\nschematics/angular: 0.1.5\r\ntypescript: 2.6.1\r\nwebpack-bundle-analyzer: 2.9.1\r\nwebpack-merge: 4.1.1\r\nwebpack: 3.8.1\r\nWINDOWS 10\r\n\r\nI've been stuck trying to get AOT working with my Webpack Unit Tests. (ngtools/webpack).\r\nOR at least along-side my unit tests....\r\n\r\nCan anyone help me at all? Or have any examples?\r\n\r\nThe main issue I'm seeing seems to be with the component's templates. The component tests all say 'Failed to load xxx.html'. During the karma unit tests..\r\n\r\nI am trying to unit test with relative (aot) urls in the source code. but what's the trick here without 2 urls in the source code? (absolute urls for jit unit tests and relative urls for aot production)??\r\n\r\nWhat am I missing?\r\n\r\nI am using webpack with aot NOT angular-cli for a use project and this is a blocker..","author":{"url":"https://github.com/JBoothUA","@type":"Person","name":"JBoothUA"},"datePublished":"2017-11-25T06:08:41Z","url":"https://github.com/angular/angular-cli/issues/8633"}
| 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:a770416f-4873-2130-4993-cdd5b2393953 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B046:4279A:271AA86:34A17C6:6B01C03E |
| html-safe-nonce | b5891b35481bf81a9c050f8bbd7222ed12a17be2867ca9b423513668e8dad192 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMDQ2OjQyNzlBOjI3MUFBODY6MzRBMTdDNjo2QjAxQzAzRSIsInZpc2l0b3JfaWQiOiIxNDM1ODM1MzQ4Njk2NTQ3MzkwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | c24ffea1cf914e133e8b51f6c800751bcaaeba7aa10a28b27b9ea4acd35b3ae1 |
| hovercard-subject-tag | issue:276728935 |
| 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/8633/issue_layout |
| twitter:image | https://opengraph.githubassets.com/b7d0fa1b3bf0e26891509ce277959328852f97e97e84efd0bc8f5d392a760122/angular/angular-cli/issues/8633 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/b7d0fa1b3bf0e26891509ce277959328852f97e97e84efd0bc8f5d392a760122/angular/angular-cli/issues/8633 |
| og:image:alt | angular/cli: 1.5.3 angular-devkit/build-optimizer: 0.0.33 angular-devkit/core: 0.0.20 angular-devkit/schematics: 0.0.36 ngtools/json-schema: 1.1.0 ngtools/webpack: 1.8.3 schematics/angular: 0.1.5 t... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | JBoothUA |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| 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 | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width