- 
          
 - 
                Notifications
    
You must be signed in to change notification settings  - Fork 0
 
Labels
Description
Add a new module option — e.g. namingFunction — that accepts a user‑supplied function. This function will be called for each route and should return the desired composable name. Internally, module will use this function instead of its default transformation:
// nuxt.config.ts
export default defineNuxtConfig({
  modules: ['nuxt-apex'],
  apex: {
    namingFunction: (relativeRoute: string) => {
      // user’s custom logic:
      // strip file extension, convert segments to PascalCase, etc.
      return myCustomNamer(relativeRoute)
    }
  }
})