Deploy Overview
Spry deployment is target-driven. You choose a runtime in spry.config.dart, then let spry build emit the correct output shape for that platform.
The deployment split
- Configuration explains every field in
defineSpryConfig(...) - this section explains how each deployment target behaves
Keep those concerns separate. Config defines intent. Deploy pages explain the platform consequences.
Common flow
- Pick
targetinspry.config.dart. - Run
dart run spry build. - Deploy the generated output for that target.
Targets
Rule of thumb
Keep route code runtime-agnostic. Push runtime choice and output shaping into config, then use the target-specific deployment page only for the last mile.