What files are required for nuxt project deployment?

  • projects done with nuxt require server-rendered deployment which files are required for all files under the project folder? Or do you just need the files under the .nuxt folder to deploy?

the directory of the packaged project.
clipboard.png

  • there is a recommended package.json, on the official website whether to replace the package.json file at the time of project development or the recommended way to write the package file for non-template-created projects.
{
  "name": "my-app",
  "dependencies": {
    "nuxt": "latest"
  },
  "scripts": {
    "dev": "nuxt",
    "build": "nuxt build",
    "start": "nuxt start"
  }
}
Mar.22,2021

npm run build
copy .nuxt; static; nuxt.config.js; package.json to server
npm I
npm start

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e459f0-44b61.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e459f0-44b61.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?