I’m still being told The pipe 'GreatPipe' could not be found
in the console after doing that
import { GreatPipe } from '../pipes/great-pipe'
@NgModule({
declarations: [
...,
GreatPipe
],
imports: [
...
],
bootstrap: [IonicApp],
entryComponents: [
...
],
providers: [
...
]
})
The pipe file
import { Injectable, Pipe } from '@angular/core';
@Pipe({
name: 'great-pipe'
})
@Injectable()
export class GreatPipe {
transform(value, args) {
return value;
}
}