The installation

There are a few things to consider when installing Nuxt3

Use Nuxt3 online

StackBlitz CodeSandBox

Create a project

Open terminal, enter command (make sure node version is 14 or older)

npx nuxi init nuxt3-app
Copy the code

The installation may fail and you need to install the latest version of Git if one of the following situations occurs

Go to the nuxt3-app folder

cd nuxt3-app
Copy the code

Install dependencies:

Yarn install or NPM installCopy the code

The development environment

Now you’ll be able to use yarn dev to start your nuxt app in development mode:

You can now start the Nuxt app in the development environment using the yarn dev command

yarn dev -o
Copy the code

Perfect! The browser opens automaticallyhttp://localhost:3000