Skip to content
This repository has been archived by the owner on Apr 6, 2023. It is now read-only.

Commit

Permalink
fix: extract the needed types from http modules
Browse files Browse the repository at this point in the history
  • Loading branch information
harlan-zw committed Jan 18, 2022
1 parent 0af3513 commit 9229d80
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions examples/hello-world/nuxt.config.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
import { defineNuxtConfig } from 'nuxt3'
import {useNuxt} from "@nuxt/kit";

export default defineNuxtConfig({
hooks: {
listen (server, listener) {
const nuxt = useNuxt()
console.log(nuxt.server.app, server.address(), listener)
},
}
})

0 comments on commit 9229d80

Please sign in to comment.