production-export.js 477 B

1234567891011121314151617
  1. /**
  2. * Start the SSR server or export your handler for serverless use
  3. * or export whatever else fits your needs.
  4. *
  5. * https://v2.quasar.dev/quasar-cli/developing-ssr/ssr-production-export
  6. *
  7. * This file is used ONLY on production.
  8. */
  9. import { ssrProductionExport } from 'quasar/wrappers'
  10. export default ssrProductionExport(async ({ app, port, isReady }) => {
  11. await isReady()
  12. return app.listen(port, () => {
  13. console.log('Server listening at port ' + port)
  14. })
  15. })