npx create-payload-app in current directory #1359
TomSmedley
started this conversation in
Feature Requests & Ideas
Replies: 1 comment
-
@TomSmedley I just released a beta version of create-payload-app with this functionality. Give it a try with |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hey everyone,
This is a request I made on Discord a few months back but never made a discussion for it. In my workflow I create a folder for a project then open that folder in Visual Code Studio, from there I use the Visual Code Studio terminal to install everything I need into that folder. For example for NextJS I do
npx create-next-app@latest .
which installs it to the current directory.Trying to do the same for PayloadCMS returns the error
The project directory './' already exists
, this means I have to create it inside a directory then move it back out to the project root. Not a massive thing, but just a helpful thing.Beta Was this translation helpful? Give feedback.
All reactions