Don't miss Vue.js Amsterdam in March 2025! Save 10% with code NUXT.

package.json

The package.json file contains all the dependencies and scripts for your application.

The minimal package.json of your Nuxt application should looks like:

package.json
{
  "name": "nuxt-app",
  "private": true,
  "type": "module",
  "scripts": {
    "build": "nuxt build",
    "dev": "nuxt dev",
    "generate": "nuxt generate",
    "preview": "nuxt preview",
    "postinstall": "nuxt prepare"
  },
  "dependencies": {
    "nuxt": "latest",
    "vue": "latest",
    "vue-router": "latest"
  }
}
Read more about the package.json file.