Skip to content

Instantly share code, notes, and snippets.

@coreysyms
Last active March 2, 2023 20:42
Show Gist options
  • Save coreysyms/aa7e43fc4a1b8543d4db983c3ae77ed0 to your computer and use it in GitHub Desktop.
Save coreysyms/aa7e43fc4a1b8543d4db983c3ae77ed0 to your computer and use it in GitHub Desktop.
Nuxt 3 SSR Deploy for AWS Elastic Beanstalk (ELB)
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
app: {},
"nitro":{
"preset":"node-server",
}
})
{
"private": true,
"scripts": {
"build": "nuxt build",
"dev": "nuxt dev",
"generate": "nuxt generate",
"preview": "nuxt preview",
"postinstall": "nuxt prepare",
"start": "node .output/server/index.mjs"
},
"devDependencies": {
"@types/node": "^18.14.2",
"nuxt": "^3.2.0"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment