Where to declarate pipes on ionic v7

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.

Angular 14 - Standalone Components, Directives, and Pipes ?

1 Like

Wasn’t working because the pipe has to be a standalone on its file as well! Thank you!

1 Like

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