feat: integrate payload cms to landing page
This commit is contained in:
@@ -17,4 +17,6 @@ const nextConfig = {
|
||||
|
||||
const plugins = [withNx, withPayload];
|
||||
|
||||
module.exports = composePlugins(...plugins)(nextConfig);
|
||||
const configWithNxPlugin = composePlugins(...plugins)(nextConfig);
|
||||
|
||||
module.exports = withPayload(configWithNxPlugin);
|
||||
|
||||
@@ -1,6 +1,10 @@
|
||||
{
|
||||
"extends": "../../tsconfig.base.json",
|
||||
"compilerOptions": {
|
||||
"baseUrl": ".",
|
||||
"paths": {
|
||||
"@payload-config": ["./src/payload.config.ts"]
|
||||
},
|
||||
"jsx": "preserve",
|
||||
"strict": true,
|
||||
"noEmit": true,
|
||||
|
||||
Reference in New Issue
Block a user