Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

nuxt3 nuxtServerInit

import { defineNuxtPlugin } from '#app'

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