What am I missing here?
Your import should be
import seo from '@payloadcms/plugin-seo';
And then replace
seoPlugin
by
seo
when you define config as well
I can't use ES6 though. Shouldn't this be the same thing?
Found a solution...
const seoPluginModule = require("@payloadcms/plugin-seo");
const seoPlugin = seoPluginModule.default;
Thanks for your help @fofoy!
I'm glad you got it sorted !
Star
Discord
online
Get help straight from the Payload team with an Enterprise License.