Ionic creates a custom pipe, prompting that the pipe cannot be found

start creating a custom pipe

html

htmlapp.model

html


app.model

with the command of ionic g pipa

I have tried Baidu"s method of importing pipes into app.model, but it is also unsuccessful. I don"t know how to solve it. I ask for advice from God

Mar.20,2021

first import the pipe, you wrote in AppModule and then restart the service.
however, the pipe you wrote may not achieve the functions you want. For more information, please see https://stackoverflow.com/que.

.
Menu