yarn create nuxt-app yzgcs
官网教程地址:https://zh.nuxtjs.org/docs/2.x/get-started/installation
yarn网址: https://classic.yarnpkg.com/en/docs/cli/create
yarn create
Creates new projects from any create-*
starter kits.
yarn create <starter-kit-package> [<args>]
This command is a shorthand that helps you do two things at once:
- Install
create-<starter-kit-package>
globally, or update the package to the latest version if it already exists - Run the executable located in the
bin
field of the starter kit’spackage.json
, forwarding any<args>
to it
For example, yarn create react-app my-app
is equivalent to:
$ yarn global add create-react-app
$ create-react-app my-app
评论区