Allow importing any file from the payload packages like it was in V2 #13892
Closed
CherryDT
started this conversation in
Feature Requests & Ideas
Replies: 1 comment
-
Never mind, I just had to remove |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
In Payload V2, if there was some module you did not export but I needed it nonetheless, I was just able to do something like
import { CheckboxInput } from 'payload/dist/admin/components/forms/field-types/Checkbox/Input'
, of course on my own risk that it could break on updating. This allowed deep customization and fast development.In Payload V3, something like
import { MoveItemsToFolderDrawer } from '@payloadcms/ui/dist/elements/FolderView/Drawers/MoveToFolder'
fails:Yes I know this is unsupported. But without it, development will be 5-10x slower for me, which is a huge drawback compared to V2.
Beta Was this translation helpful? Give feedback.
All reactions