@quasar/app
Version:
Quasar Framework local CLI
19 lines (16 loc) • 489 B
JavaScript
/**
* Start the SSR server or export your handler for serverless use
* or export whatever else fits your needs.
*
* https://v2.quasar.dev/quasar-cli/developing-ssr/ssr-production-export
*
* This file is used ONLY on production.
*/
import { ssrProductionExport } from 'quasar/wrappers'
export default ssrProductionExport(({ app, port, isReady }) => {
return isReady().then(() => {
app.listen(port, () => {
console.log('Server listening at port ' + port)
})
})
})