2022-04-06 05:56:08 +00:00
# Quick Start
2021-10-11 12:57:54 +00:00
2022-04-06 05:56:08 +00:00
Starting fresh? Getting started with Nuxt 3 is straightforward!
2021-10-11 12:57:54 +00:00
2021-10-12 18:26:16 +00:00
## Play online
You can start playing with Nuxt 3 in your browser using our online sandboxes:
2021-10-29 11:26:01 +00:00
:button-link[Play on StackBlitz]{href="https://stackblitz.com/github/nuxt/starter/tree/v3-stackblitz" blank}
2022-04-04 10:56:10 +00:00
:button-link[Play on CodeSandbox]{href="https://codesandbox.io/s/github/nuxt/starter/tree/v3-codesandbox" blank}
2021-10-12 18:26:16 +00:00
2022-04-06 05:56:08 +00:00
## Prerequisites
Before getting started, please make sure you have installed the recommended setup.
* **Node.js**< sup > *</ sup > (latest LTS version) 👉 [[Download ](https://nodejs.org/en/download/ )]
* **Visual Studio Code** 👉 [[Download ](https://code.visualstudio.com/ )]
* **Volar Extension** 👉 [[Download ](https://marketplace.visualstudio.com/items?itemName=johnsoncodehk.volar )]
* Either enable [**Take Over Mode** ](https://github.com/johnsoncodehk/volar/discussions/471 ) (recommended)
* ... or add **TypeScript Vue Plugin (Volar)** 👉 [[Download ](https://marketplace.visualstudio.com/items?itemName=johnsoncodehk.vscode-typescript-vue-plugin )]
< sup > *</ sup > If you already have Node.js installed, check with `node --version` that you are using `v14` or `v16` .
::alert{type=info}
If you have enabled **Take Over Mode** or installed the **TypeScript Vue Plugin (Volar)** you can disable generating the shim for `*.vue` files:
```js
export default defineNuxtConfig({
typescript: {
shim: false
}
})
```
::
2021-10-11 16:37:38 +00:00
## New project
2021-10-11 12:57:54 +00:00
2021-10-11 16:37:38 +00:00
Open a terminal, or from [Visual Studio Code ](https://code.visualstudio.com/ ), open an [integrated terminal ](https://code.visualstudio.com/docs/editor/integrated-terminal ) and use the following command to create a new starter project:
2021-10-11 12:57:54 +00:00
2022-03-09 10:40:20 +00:00
::code-group
```bash [npx]
2021-10-11 16:37:38 +00:00
npx nuxi init nuxt3-app
2021-10-11 12:57:54 +00:00
```
2022-03-09 10:40:20 +00:00
```bash [yarn2]
yarn dlx nuxi init nuxt3-app
```
```bash [pnpm]
pnpm dlx nuxi init nuxt3-app
```
::
2021-10-11 16:37:38 +00:00
Open `nuxt3-app` folder in visual studio code:
2021-10-11 12:57:54 +00:00
```bash
2021-12-17 09:33:12 +00:00
code nuxt3-app
2021-10-11 12:57:54 +00:00
```
2021-10-11 16:37:38 +00:00
Install the dependencies:
2021-10-11 12:57:54 +00:00
2021-10-11 16:37:38 +00:00
::code-group
2021-10-29 11:26:01 +00:00
2022-03-09 10:40:20 +00:00
```bash [yarn]
2021-10-11 12:57:54 +00:00
yarn install
```
2021-10-29 11:26:01 +00:00
2022-03-09 10:40:20 +00:00
```bash [npm]
2021-10-11 16:37:38 +00:00
npm install
```
2021-10-29 11:26:01 +00:00
2022-03-09 10:40:20 +00:00
```bash [pnpm]
pnpm install --shamefully-hoist
```
2021-10-11 16:37:38 +00:00
::
2021-10-11 12:57:54 +00:00
2021-10-12 18:26:16 +00:00
## Development server
2021-10-11 12:57:54 +00:00
2021-10-11 21:49:54 +00:00
Now you'll be able to use `yarn dev` to start your nuxt app in development mode:
2021-10-11 12:57:54 +00:00
2021-10-11 16:37:38 +00:00
::code-group
2021-10-29 11:26:01 +00:00
2022-03-09 10:40:20 +00:00
```bash [yarn]
2021-10-11 12:57:54 +00:00
yarn dev -o
```
2021-10-29 11:26:01 +00:00
2022-03-09 10:40:20 +00:00
```bash [npm]
2021-10-11 16:37:38 +00:00
npm run dev -- -o
```
2021-10-29 11:26:01 +00:00
2022-03-09 10:40:20 +00:00
```bash [pnpm]
pnpm run dev -- -o
```
2021-10-11 16:37:38 +00:00
::
2021-10-11 12:57:54 +00:00
2021-10-11 16:37:38 +00:00
::alert{type=success icon=✨ .font-bold}
2021-10-29 11:26:01 +00:00
Well done! A browser window should automatically open for < http: / / localhost:3000 >
2021-10-11 16:37:38 +00:00
::
2021-10-11 12:57:54 +00:00
2021-10-11 16:37:38 +00:00
## Next steps
2021-10-11 12:57:54 +00:00
2021-10-11 21:49:54 +00:00
Now that you've created your Nuxt 3 project, you are ready to start building your application.
2021-10-11 12:57:54 +00:00
2022-04-06 05:56:08 +00:00
* Learn about the framework [concepts ](/guide/concepts )
* Learn more about the framework [features ](/guide/features )