We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9814ce3 commit ef43572Copy full SHA for ef43572
src/module.ts
@@ -106,6 +106,10 @@ export default defineNuxtModule<ModuleOptions>({
106
log.error('NuxtHub is only compatible with the `cloudflare-pages` and `cloudflare-module` presets.')
107
process.exit(1)
108
}
109
+
110
+ // Update the deploy command displayed in the console
111
+ nuxt.options.nitro.commands = nuxt.options.nitro.commands || {}
112
+ nuxt.options.nitro.commands.deploy = 'npx nuxthub deploy'
113
114
115
// Local development without remote connection
0 commit comments