Problems with implementing the SEO Plugin #1142
-
When implementing the SEO plugin I am getting a TypeScript error. My export default buildConfig({
// Ommited because out of context
plugins: [
seo({
collections: ['pages'],
uploadsCollection: 'images',
}),
],
}); The error: |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
I don't think the type error you shared is coming from the plugins of your config. To rule this out, what happens if you comment out the I just createed a new Payload TS project and added the seo plugin and it is working with your exact Happy to help more if you can share the rest of your config or more specific lines of code to look at. |
Beta Was this translation helpful? Give feedback.
I don't think the type error you shared is coming from the plugins of your config.
To rule this out, what happens if you comment out the
plugins
from your config, does the error go away?I just createed a new Payload TS project and added the seo plugin and it is working with your exact
plugins
config. I can push to a sample repo if it helps or you can go look at the public-demo too.Happy to help more if you can share the rest of your config or more specific lines of code to look at.