You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How do I make the canonical tag change. I've got the title, description and keywords changing ok.
Do I simply do this:
{
path: 'home',
component: HomeComponent,
data: {
meta: {
title: 'Home page',
description: 'Description of the home page',
canonical: 'mywebsite.com/home'
}
}
}
I'm using angular version 4, with webpack, typescript and ng2-meta plugin. I just need to make the canonical tag change in runtime like the description changes. Is this possible?
The text was updated successfully, but these errors were encountered:
Hi,
How do I make the canonical tag change. I've got the title, description and keywords changing ok.
Do I simply do this:
I'm using angular version 4, with webpack, typescript and ng2-meta plugin. I just need to make the canonical tag change in runtime like the description changes. Is this possible?
The text was updated successfully, but these errors were encountered: