Using Capacitor plugins in framework7

I’m using framework7 with capacitor. What is the correct way to import capacitor plugins as
import {Plugins} from ‘@capacitor/core’
doesn’t work
in firefox it gives “Loading module from “http://localhost:3333/node_modules/@capacitor/core/” was blocked because of a disallowed MIME type (“text/html”).”

No error in chrome but the code doesn’t work

Not working on android after building the package

hi, did yo usolved it??