Prerequisites
- A Veryfront project with
veryfront.config.ts. - For a first-party extension: the matching package installed.
- For a local extension: a folder under
extensions/with a default-exported factory (see Extension authoring).
Enable an extension
Add extension factories toveryfront.config.ts:
veryfront.config.ts to force reload during development.
First-party extension areas
Verify it worked
Restartveryfront dev after editing veryfront.config.ts:
- The dev log should print a setup line for each loaded extension.
- Any contract the extension provides should now be resolvable through the
matching consumer (for example, a
CacheStoreextension lets cache-aware code skip its local fallback). - If the factory throws during setup, the dev server prints the setup error with the extension name. Fix the error and reload.