-
-
Notifications
You must be signed in to change notification settings - Fork 283
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[docs] Fix npx folder confusion #2346
Conversation
docs/src/components/landing/Hero.js
Outdated
installation={'npx create-toolpad-app'} | ||
installation="npx create-toolpad-app@latest" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
``` | ||
|
||
> This will run the `create-toolpad-app` CLI which initializes the directory `./my-app` with a Toolpad application. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is for quotes
I recommend leaving the folder name argument in the command (something like:) npx create-toolpad-app@latest my-toolpad-app since it helps tie in to the second instruction:
I'm guessing the confusion occurred because of the absence of |
Ahhhhhh, I wasn't using the latest version 🤦♂️. Maybe one day npm will fix this npm/cli#4108 |
Co-authored-by: Bharat Kashyap <[email protected]> Signed-off-by: Olivier Tassinari <[email protected]>
I got really confused by the my-app description. No, it doesn't work the way it's documented.
Preview: https://deploy-preview-2346--mui-toolpad-docs.netlify.app/toolpad/getting-started/installation/