Nuxt/examples/programmatic/scripts/start.js
2020-01-19 09:36:06 +01:00

9 lines
155 B
JavaScript

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