Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

nuxtServerInit nuxt3

import { defineNuxtPlugin } from '#app'

export default defineNuxtPlugin((nuxtApp) => {
  if (process.server) {
    // ...
  }
})
 
PREVIOUS NEXT
Tagged: #nuxtServerInit
ADD COMMENT
Topic
Name
1+7 =