Nuxt/examples/programmatic/scripts/start.js

9 lines
155 B
JavaScript
Raw Normal View History

const { loadNuxt } = require('nuxt-start')
const main = async () => {
const nuxt = await loadNuxt({ for: 'start' })
await nuxt.listen(3000)
}
main()