From 059a16e2e746efbb9b0bb4923a70556748184a08 Mon Sep 17 00:00:00 2001 From: Paul Date: Wed, 10 Apr 2024 12:17:44 -0300 Subject: [PATCH] Update README.md --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index 3bf1b51..6d08de6 100644 --- a/README.md +++ b/README.md @@ -38,6 +38,14 @@ We are making this available to our community so that we can gather your feedbac 1. An install script to be able to install Payload easily into any existing Next.js app 1. A full list of breaking changes for 2.0 -> 3.0, including an in-depth migration guide +### Existing Nextjs project + +You can install Payload into your existing Nextjs project using this command: +``` +npx create-payload-app@beta +``` +Contents from `src/app` will have to be moved into a new directory `src/app/(app)` so that Payload's root layout and routes can remain isolated from the rest of your app. + ### Using this repo To try out this repo yourself, follow the steps below: