- Initialize yarn workspaces
Open
# set yarn version yarn set version berry # initialize yarn with workspaces yarn init -w # Change newly created `packages/` directory to `apps/` mv packages apps
package.json
change:"workspaces": [ "apps/*" ]
- Create Strapi API
cd apps/ yarn create strapi-app@beta strapi-ts-starter (--ts)
- Create Next.js Web app
yarn create next-app --ts
- [ ]