Getting Started With “Create Nuxt App”
Create Nuxt App is a CLI tool that was just live released on stage at Vue.js London on September 21st, 2018. The create-nuxt-app
CLI is similar to the Vue CLI in the fact that both tools help you get up and running with a Webpack Vue.js project. In this case, create-nuxt-app
will create a base Nuxt.js template for you based on the options that you select. You can of course, continue to use the vue init
command as stated in the section above, but create-nuxt-app
is intended to replace it. To use the CLI tool, you must have NPM 5.2.0 or higher.
# Check your NPM version number
$
npm -v
If that requirement is fulfilled, then you can start installing create-nuxt-app
:
$
npm install create-nuxt-app -g# or
$
yarn global add create-nuxt-app
After create-nuxt-app
is installed, you can create a new project with the follow commands:
$
npx create-nuxt-app <my-project># or
$
yarn create nuxt-app <my-project>
This neat new tool comes...