How to use the @nuxt/server.Server function in @nuxt/server

To help you get started, we’ve selected a few @nuxt/server examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github nuxt / nuxt.js / packages / core / src / nuxt.js View on Github external
_initServer () {
    if (this.server) {
      return
    }
    this.server = new Server(this)
    this.renderer = this.server
    this.render = this.server.app
    defineAlias(this, this.server, ['renderRoute', 'renderAndGetWindow', 'listen'])
  }

@nuxt/server

MIT
Latest version published 4 months ago

Package Health Score

82 / 100
Full package analysis

Popular @nuxt/server functions