建立Nuxt.js项目

Chason
2021-02-03 / 0 评论 / 0 点赞 / 803 阅读 / 599 字
温馨提示:
本文最后更新于 2021-08-12,若内容或图片失效,请留言反馈。部分素材来自网络,若不小心影响到您的利益,请联系我们删除。
yarn create nuxt-app yzgcs

image.png
image.png

官网教程地址: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’s package.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
0

评论区