Localized, stepwise template growth of functional nanowires from an amino acid-supported framework in a microfluidic chip.