Skip to content

Commit

Permalink
docs(next): #293 hoist plugin order warning to the quickstart
Browse files Browse the repository at this point in the history
  • Loading branch information
rossmeissl authored Sep 12, 2024
1 parent fd7f11d commit 7976d43
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/quickstart/next.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ const nextConfig = {
// your next.js config
};

// withContentCollections must be the outermost plugin
export default withContentCollections(nextConfig);
```
</Tab>
Expand All @@ -68,6 +69,7 @@ const nextConfig = {
// your next.js config
};

// withContentCollections must be the outermost plugin
module.exports = withContentCollections(nextConfig);
```
</Tab>
Expand All @@ -81,6 +83,7 @@ const nextConfig: NextConfig = {
/* config options here */
};

// withContentCollections must be the outermost plugin
export default withContentCollections(nextConfig);
```
</Tab>
Expand Down

0 comments on commit 7976d43

Please sign in to comment.