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 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...
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...
Anyone know if it's possible to Deploy Angular Universal to Github Pages?  There are solutions like angular-cli-ghpages, but IIUC these do not prerender content for SEO....
i cloned an angular universal project for server side rendering and routing also works fine but each time i click on view source page it through the following error and the page doesn't load.(i am sending data to hit api in formdata).  whenever i...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.