NuxtN
Nuxt3y ago
1 reply
davestewart

How to get configured paths in a nitro plugin?

Hey. I need to copy some files around, so need to get the location of modules, public, etc.

How do I do this in a nitro plugin?

export default defineNitroPlugin((nitroApp: NitroApp) => {
  const public = ...
  const modules = ...
})


Thanks
Was this page helpful?