Custom Framework7 Plugin

I followed the debugPlugin example and tried to add it to the app but I don’t see any of the console log displays on my web app. Is it not compatible with F7 version 6?

1 Like

I figured it out. I have to add the import myPlugin from ‘./myPlugin.js’; before the Framework7.use(myPlugin); then make sure the myPlugin.js file has the export default myPlugin; at the bottom of the file.