mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-25 23:22:02 +00:00
chore(nuxi): add notice for generate deployment (#4474)
This commit is contained in:
parent
3c3291226d
commit
975ec0c417
@ -1,3 +1,4 @@
|
|||||||
|
import consola from 'consola'
|
||||||
import buildCommand from './build'
|
import buildCommand from './build'
|
||||||
import { defineNuxtCommand } from './index'
|
import { defineNuxtCommand } from './index'
|
||||||
|
|
||||||
@ -10,5 +11,6 @@ export default defineNuxtCommand({
|
|||||||
async invoke (args) {
|
async invoke (args) {
|
||||||
args.prerender = true
|
args.prerender = true
|
||||||
await buildCommand.invoke(args)
|
await buildCommand.invoke(args)
|
||||||
|
consola.success('You can now deploy `.output/public` to any static hosting!')
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user