You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just run yarn create book and start writing your book!
Use
yarn create book <directory># or
npm create book <directory>
I checked the Yarn 2 documentation - Migration - CLI Commands - Renamed and found that the yarn create in Yarn Classic (1.x) is replaced to yarn dlx create-<name> in Yarn 2 with Note: "yarn create still works, but prefer using yarn dlx".
If yarn create will be deprecated, we should not recommend yarn create and its npm counterpart npm create and should recommend npx and yarn dlx?
npx create-book <directory> # same as `npm create book <directory>`
# or if Yarn 2 is available:
yarn dlx create-book <directory>
The text was updated successfully, but these errors were encountered:
In the current README:
I checked the Yarn 2 documentation - Migration - CLI Commands - Renamed and found that the
yarn create
in Yarn Classic (1.x) is replaced toyarn dlx create-<name>
in Yarn 2 with Note: "yarn create
still works, but prefer usingyarn dlx
".If
yarn create
will be deprecated, we should not recommendyarn create
and its npm counterpartnpm create
and should recommendnpx
andyarn dlx
?The text was updated successfully, but these errors were encountered: