79105301

Date: 2024-10-19 15:39:03
Score: 0.5
Natty:
Report link

The tutorials haven't been updated to work with Payload 3.0 yet.

The main breaking changes you will run into here is that all the exports from payload and it's various packages now export from the root of each package.

Your editor will likely know where to import from if you remove the import lines and then try to fix the missing variables.

Aside from imports, there was a breaking change in how custom components are imported as path strings instead of importing the component directly in the config. Read more in the breaking changes of the release notes.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: IveMadeAHugeMistake