chore(nuxi): add notice for generate deployment (#4474)

This commit is contained in:
pooya parsa 2022-04-20 21:22:59 +02:00 committed by GitHub
parent 3c3291226d
commit 975ec0c417
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,3 +1,4 @@
import consola from 'consola'
import buildCommand from './build'
import { defineNuxtCommand } from './index'
@ -10,5 +11,6 @@ export default defineNuxtCommand({
async invoke (args) {
args.prerender = true
await buildCommand.invoke(args)
consola.success('You can now deploy `.output/public` to any static hosting!')
}
})