0.0.1 • Published 4 years ago
@nuxt/deploy v0.0.1
Nuxt 🚀 Deploy
Prepare and Deploy Nuxt 2/3 applications!
Usage
Define platforms in nuxt.config
file:
export default {
{
deploy: {
platforms: [
'cli',
{ platform: 'vercel' }
],
}
}
}
Command line: npx @nuxt/deploy <rootDir> [<platform>] [--analyze] [--minify]
Options
rootDir
buildDir
minify
analyze
logStartup
targets[]
Target specefic config. You can override top-level options for each target as well
Supported Targets
CLI
Use CLI to render a page
Vercel
See example vercel.json
Cloudflare
Development
- Clone repository
yarn install
yarn dev-build
yarn dev-deploy cli
License
MIT - Nuxt Team
0.0.1
4 years ago