开发者

ERROR The pipe 'translate' could not be found! appears only on manual URL input - angular

开发者 https://www.devze.com 2022-12-07 17:25 出处:网络
I have the following situation: I have a page X that has two tabs, tab1 and tab2. When I open page X tab1 automatically appears with the URL for page tab1, when I click tab2 the URL changes and the co

I have the following situation:

I have a page X that has two tabs, tab1 and tab2.

When I open page X tab1 automatically appears with the URL for page tab1, when I click tab2 the URL changes and the component for tab2 opens. Everything works fine. However, if I manually insert the URL for tab2 I got this error:

The pipe 'translate' could not be found!

I have TranslaeModule imported, does anyone have an idea what c开发者_如何学Goould be wrong and why this ONLY HAPPENS when I type the URL directly?

0

精彩评论

暂无评论...
验证码 换一张
取 消