0.0.1 • Published 3 years ago

@nuxt/deploy v0.0.1

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago

Nuxt 🚀 Deploy

Prepare and Deploy Nuxt 2/3 applications!

MVP Roadmap

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

WIP

Development

  • Clone repository
  • yarn install
  • yarn dev-build
  • yarn dev-deploy cli

License

MIT - Nuxt Team