Docs Guide Directory Structure
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" }, "devDependencies": { "@nuxt/devtools": "latest", "nuxt": "latest", "vue": "latest", "vue-router": "latest" }}