Hi, I am wondering how can we declare the pipes now that there’s no app-module
anymore.
I tried in main.ts
, but I don’t find the correct way of doing it.
I’ve tried to make the declaration within a component decorator, but no luck.
Hi, I am wondering how can we declare the pipes now that there’s no app-module
anymore.
I tried in main.ts
, but I don’t find the correct way of doing it.
I’ve tried to make the declaration within a component decorator, but no luck.
Wasn’t working because the pipe has to be a standalone on its file as well! Thank you!
For built in pipes provided by angular no need to declare just
import { CommonModule } from ‘@angular/common’;
for Custom pipes add them in import section of @component
///more details Ionic angular built in and custom standalone pipes - YouTube