Ionic vue capacitor cannot preview/open files

I am using capacitor in my vue ionic project.
I need to preview/open the files in my app.
Capacitor’s FileSystem only reads the files from app. I need to preview the file from some url.
In cordova using file opener file can be open. Is there anything like fileopener in capacitor.

you can try using the cordova plugin in capacitor and see if it works.

check out this project where i use non-capacitor plugin in a vue project -

not working again.i have installed file opener plugin from the reference
I am getting Cannot read property ‘open’ of undefined
at eval error.