We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The current example in the readme is not clear to me.
Is the iframeTabsPlugin() something that goes in the plugins section of the config like this:
iframeTabsPlugin()
plugins
export default buildConfig({ admin: { user: Users.slug, bundler: webpackBundler(), }, editor: slateEditor({}), collections: [ Users, Tenants, MyCollection ], typescript: { outputFile: path.resolve(__dirname, 'payload-types.ts'), }, graphQL: { schemaOutputFile: path.resolve(__dirname, 'generated-schema.graphql'), }, plugins: [ tenancy( { isolationStrategy: "path" } ), iframeTabsPlugin({ enabled: true, collections: [MyCollection] }) ], db: mongooseAdapter({ url: process.env.DATABASE_URI, }), })
or does it wrap the entire config like this:
export default iframeTabsPlugin(buildConfig({ admin: { user: Users.slug, bundler: webpackBundler(), }, editor: slateEditor({}), collections: [ Users, Tenants ], typescript: { outputFile: path.resolve(__dirname, 'payload-types.ts'), }, graphQL: { schemaOutputFile: path.resolve(__dirname, 'generated-schema.graphql'), }, plugins: [ tenancy( { isolationStrategy: "path" } ) ], db: mongooseAdapter({ url: process.env.DATABASE_URI, }), }))
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The current example in the readme is not clear to me.
Is the
iframeTabsPlugin()
something that goes in theplugins
section of the config like this:or does it wrap the entire config like this:
The text was updated successfully, but these errors were encountered: