fix(cms): fix import paths and defer CMS build to runtime (requires database)
This commit is contained in:
@@ -4,7 +4,7 @@ import type { Metadata } from "next";
|
||||
|
||||
import config from "@payload-config";
|
||||
import { NotFoundPage, generatePageMetadata } from "@payloadcms/next/views";
|
||||
import { importMap } from "../importMap.js";
|
||||
import { importMap } from "../../importMap.js";
|
||||
|
||||
type Args = {
|
||||
params: Promise<{ segments: string[] }>;
|
||||
|
||||
@@ -4,7 +4,7 @@ import type { Metadata } from "next";
|
||||
|
||||
import config from "@payload-config";
|
||||
import { RootPage, generatePageMetadata } from "@payloadcms/next/views";
|
||||
import { importMap } from "../importMap.js";
|
||||
import { importMap } from "../../importMap.js";
|
||||
|
||||
type Args = {
|
||||
params: Promise<{ segments: string[] }>;
|
||||
|
||||
Reference in New Issue
Block a user