react-notion-x
react-notion-x copied to clipboard
The Minimal Example has Errors
trafficstars
Description
Some errors with the minimal example due to it assuming it runs within the main repo
@next/bundle-analyzerisn't in thepackage.json, so delete fromnext.config.jsall references to it.- yarn dev now errors because
yarn.lockrefers to deps that are only installed in the context of the main repo. I'm only stealing a slice of the main repo. the yarn.lock is invalid now, so remove it and yarn again. yarn dev works now
Notion Test Page ID
not-relevant
How to solve
create a separate repo for the examples so the examples don't make any assumptions about what deps it has available.