Skip to content

Commit 84c838c

Browse files
docs: fix importMap.baseDir path (#11076)
Wrong path in docs for `config.admin.importMap.baseDir` --------- Co-authored-by: Jacob Fletcher <jacobsfletch@gmail.com>
1 parent 0a3820a commit 84c838c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/admin/components.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ const config = buildConfig({
5454

5555
In order to ensure the Payload Config is fully Node.js compatible and as lightweight as possible, components are not directly imported into your config. Instead, they are identified by their file path for the Admin Panel to resolve on its own.
5656

57-
Component Paths, by default, are relative to your project's base directory. This is either your current working directory, or the directory specified in `config.admin.baseDir`. To simplify Component Paths, you can also configure the base directory using the `admin.importMap.baseDir` property.
57+
Component Paths, by default, are relative to your project's base directory. This is either your current working directory, or the directory specified in `config.admin.importMap.baseDir`.
5858

5959
Components using named exports are identified either by appending `#` followed by the export name, or using the `exportName` property. If the component is the default export, this can be omitted.
6060

0 commit comments

Comments
 (0)