Hey I'm having an issue I have this blogs page that brings in dynamic data, and with that data I want to use it to populate meta tags so for example I'm doing something like this  getBlogPost() {   this.http.get(...)      .subscribe(result =&...
My website hosted on http://abc.xyz.com OG meta tag works for the main page. If I am adding it to the child routes it doesn't work. for example - http://abc.xyz.com/pqr/slug-url.  index.html  <meta property="og:type" content="artic...
I have the http request being made a service which is injected onto my component and subscribed to from there. Since I introduced server side rendering with angular universal to my application, the results on the page are repeated at least twice.  I...
I am not looking for a specific tutorial on how to set this up. I am actually wanting to know what is possible and what is not.   In my Angular 6 application I am learning how to load content serverside so bots can index the client data. There is a l...
I am working with the library ng2-mqtt and I used it im my component like this:   import 'ng2-mqtt/mqttws31.js'; declare var Paho: any;   Now I am getting following error:   ReferenceError: window is not defined     at Object.<anonymous>...
I wanted to make my angular app seo friendly so I searched google and found several solutions Make your Angular App SEO-Friendly (Angular 4 + Universal) I follow the instructions however when I run the project with npm run start the following error o...
So I have standatd Angular 4, Angular Universal app with using ngxerrors plugin. During running compilation for server I get error   Unexpected token import. (function (exports, require, module, __filename, __dirname) { import { Directive, Input, Inj...
I followed official angular-cli tutorial to integrate angular-universal to my existing angular-cli app.  I am able to do SSR for my angular-cli app. But when I try to integrate ngx-leaflet, I am getting following error:     ReferenceError: navigator...
I used the new Angular Universal Starter to start a new Angular 5 project. For the new release they only give the Angular CLI version as a starter. Everything works fine and I can run my project in production with npm run serve:ssretc.  But: I have a...
My task is to update a project from Angular 4 to 5. That project uses Angular Universal for ssr. I did a lot of stuff to be able to run the project, now it is working with jit build, but when i try to build AOT, it builds it without error, but as i v...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.