Skip to content
This repository was archived by the owner on Dec 1, 2025. It is now read-only.

fix: Export plugin components in package.json and replace it in the plugin configuration#17

Open
manutepowa wants to merge 1 commit intopayloadcms:betafrom
manutepowa:fix/plugin/component-paths
Open

fix: Export plugin components in package.json and replace it in the plugin configuration#17
manutepowa wants to merge 1 commit intopayloadcms:betafrom
manutepowa:fix/plugin/component-paths

Conversation

@manutepowa
Copy link

Path error

Plugin component paths as string not undestand by blank project because have relative paths, and importmap does not find them.

Example: '/components/.../AfterDashboard'

Solution.

Export plugin components in package.json and add correct string in plugin.ts.

PD: I believe this is the solution. If I am not correct, please let me know.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant