#next.js + yarn workspaces
1 messages · Page 1 of 1 (latest)
yes i did, i implemented it on my personal website: https://github.com/grikomsn/griko.id/
Website monorepo for https://griko.id and previous versions - GitHub - grikomsn/griko.id: Website monorepo for https://griko.id and previous versions
first: make sure package.json's private field to true to enable yarn workspaces
then define where your projects/packages is: https://github.com/grikomsn/griko.id/blob/2707f9c7280086f938281572b1adf6f185107488/package.json#L4-L6
thanks for getting back to me
make a base tsconfig.json and set the paths with your preferred alias to import local packages https://github.com/grikomsn/griko.id/blob/2707f9c7280086f938281572b1adf6f185107488/tsconfig.json#L14-L16
I happen to be stuck here #community-help message
I must have done something wrong in the setup
will look into that!