On a side note, do you know how to set up path alias for Ionic 6?
I did this in ts.config.json,
"baseUrl": "./",
"paths": {
"~/*": ["./src/*"]
},
My IDE does not complain when I import like so, import { myPage} from '~/components/myPage', but Ionic is unable to compile, with the error Can't resolve '~/components/myPage' in 'myApp\src\components'
On a side note, do you know how to set up path alias for Ionic 6?
I did this in ts.config.json,
My IDE does not complain when I import like so,
import { myPage} from '~/components/myPage', but Ionic is unable to compile, with the errorCan't resolve '~/components/myPage' in 'myApp\src\components'
Don't know, never tried 🤷♂️
Hi Eugene,
Did you ever find a solution for this? I'm grappling with the same issue
Andy