Konstantin

Results 8 comments of Konstantin

@atscott 1. The code is on https://d2nbgvwjuy9x2a.cloudfront.net/cdn-i18n-routing-issue/ 2. The app is on https://konstantin.kharitonov.nl/cdn-i18n-routing-issue/ 3. building with `ng build --localize` 4. Each `index.html` has `` as `https://d2nbgvwjuy9x2a.cloudfront.net/cdn-i18n-routing-issue/{locale}/` 5. `APP_BASE_HREF` must be...

@atscott No, it will cause a security issue with the same result. ``` Unhandled Navigation Error: SecurityError: Failed to execute 'replaceState' on 'History': A history state object with URL 'https://d2nbgvwjuy9x2a.cloudfront.net/cdn-i18n-routing-issue/en/'...

Thank you @atscott ! I've made it working now. The main part is to strip origin for `this._baseHref` ```ts function stripOrigin(baseHref: string): string { if (/^(https?:)?\/\//.test(baseHref)) { const [, pathname]...

@AndrewKushnir @petebacondarwin Guys, you have to implement all features available in templates in `$localize`. The explanation that it is gonna be too heavy is bs. Also workaround with function `plural`...

after updating to 1.58.1(Angular update from 14 to 15) it fails to understand root related paths ```bash Can't find stylesheet to import. ╷ 1 │ @import "libs/lib-a/src/lib/common/colors"; │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ╵...

> @constantant Can you reproduce this with Sass alone? Are you sure it's not an issue with Angular's configuration? Never used it alone, not sure that I can properly make...

In my case it was an error: `The following implicitDependencies point to non-existent project(s):` , which appears due to a directory being left after the branch switching. So if you...