package.json is as follows
"scripts": {
"dev": "nuxt",
"build": "cross-env NODE_ENV=production nuxt build && nuxt start",
"start": "nuxt start",
"server": "cross-env NODE_ENV=production nodemon server --exec babel-node --presets es2015,stage-2",
"online": "babel server -d dist --presets es2015,stage-2",
"serve": "cross-env NODE_ENV=production pm2 start dist/index.js",
"generate": "nuxt generate",
"lint": "eslint --ext .js,.vue --ignore-path .gitignore .",
"precommit": "npm run lint"
}
there are only these files in the .nuxt folder after the nuxt project build
.nuxtstatic,package.jsonnuxt.config.js
npm run start
Error: No SSR build! Please start with nuxt start --spa
or build using nuxt build --universal
What is the reason for
? How to deploy correctly.