From the course: Learning Nuxt.js
Unlock the full course today
Join today to access over 24,400 courses taught by industry experts.
Scaffold an app with create-nuxt-app
From the course: Learning Nuxt.js
Scaffold an app with create-nuxt-app
- We'll be using the Nuxt CLI, to create a new project that we serve as a project we build throughout this course. And to do this, we first need to make sure that we have NPM installed, or Yarn installed. Next, type the command: npx create-nuxt-app, followed by the name of the project, in our case we want to call this learning-nuxt. Now you can also use Yarn, if that's your preferred package manager of choice. The command for creating a Nuxt app with Yarn is yarn create nuxt-app, followed by the name of the project. For this course, we're going to be using NPX to create this Nuxt application. So let's run that. Now we get a prompt asking, oh, some questions which we have to answer. The first question here is, "What's the project's name we need?" It already suggests learning-nuxt, which is the name of the directory. So we would just accept that by pressing enter. Next, we have to pick a choice of programming language.…