Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

nuxt 3 nuxtServerInit

import { defineNuxtPlugin } from '#app'

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