Design and application of intramolecular vinylogous Michael reaction for the construction of 2-alkenyl indoles.