Advanced
Advanced patterns for Nuxt Protokit — custom schemas, building reusable toolkits, and extensibility.
Advanced
Go beyond the basics. These guides cover advanced schema patterns, composing multiple prototypes into a reusable toolkit, and extending Protokit with custom behaviour.
What's in This Section
Building a Toolkit
Compose multiple schemas and ProtoTool components into a cohesive, shareable toolkit.
When to Use Advanced Patterns
Start with the standard schema and composables. Reach for these guides when you need to:
- Share schemas across tools — extract common fields into reusable fragments and compose them per tool
- Build a product toolkit — bundle multiple
ProtoToolinstances with shared state and cross-tool computed values - Replace built-in UI — swap the default field renderer for a custom component without forking the library
- Integrate external data — wire live API data into computed fields via
linkedResponses
Prerequisites
Before diving in, make sure you're comfortable with:
- Schema basics — fields, collections, derived values
- Composables —
usePrototype,useProtoDoc,useProtoCollection - Components —
ProtoTool,ProtoCrudModal
Corruption Recovery
How protokit detects IndexedDB corruption, queries server snapshots, and guides users through recovery without data loss.
Multi-Tool Apps
Patterns for building multi-tool applications with protokit — shared Y.js documents, workspace-scoped stores, staged navigation, and the produces/consumes data pipeline.