-
-
Notifications
You must be signed in to change notification settings - Fork 5.3k
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
[Documentation] README.md suggests "npm install --save-dev react-admin" instead of "npm install react-admin" #2420
Comments
I was asking myself the exact same question. Did a little bit of digging and it looks like the Maybe @fzaninotto knows the reason? |
It dates from my confusion about how React apps are built: since we use webpack at build time, and webpack creates a bundle with all the required dependencies, I thought there were no need for react or react-admin to actually run the app. But So yes, you're right, we can remove |
@fzaninotto thanks for the explanation! I wouldn’t mind opening a PR, but maybe @ajhool might want to give it a go since they spotted this in the first place. What do you think @ajhool? |
Thanks for digging into this, I'm happy to!
…On Wed, Nov 21, 2018, 7:59 AM Nicolas Goutay ***@***.***> wrote:
@fzaninotto <https://github.com/fzaninotto> thanks for the explanation! I
wouldn’t mind opening a PR, but maybe @ajhool <https://github.com/ajhool>
might want to give it a go since they spotted this in the first place. What
do you think @ajhool <https://github.com/ajhool>?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#2420 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AKTSf4_HEovkEH4f65yMcX7KxsKMH42oks5uxU5IgaJpZM4XYS9k>
.
|
@ajhool did you have time to have a look at updating the docs? |
Thanks for reminder, see below :) |
fixed by #2574 |
This is a minor documentation issue so I am ignoring the standard bug report for brevity's sake. Happy to edit to the full format if need be!
The README.md installation section:
react-admin is a runtime package, so why is --save-dev suggested?
Suggested update: change README.md to use
npm install react-admin
oryarn add react-admin
instead ofnpm install --save-dev react-admin
The text was updated successfully, but these errors were encountered: