Module architecture
Main file: src/module.ts
Responsibilities
The Nuxt module is responsible for:
- resolving the
feathersoptions - normalizing runtime configuration
- detecting
embeddedversusremotemode - generating
.nuxt/feathers/** - wiring client and server plugins
- auto-installing
@pinia/nuxtwhenfeathers.client.piniais enabled
Internal structure
txt
src/
├─ module.ts
├─ cli/
├─ runtime/
│ ├─ options/
│ ├─ templates/
│ ├─ services.ts
│ └─ utils/
└─ types/Execution flow
- read
nuxt.config.ts - run
resolveOptions() - scan local services in embedded mode
- generate
.nuxt/feathers/** - let Nuxt load the generated runtime
