Skip to content

Instantly share code, notes, and snippets.

@zaydek
Last active January 26, 2021 13:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zaydek/db4ebb897aeeae6648d154c2d086d49e to your computer and use it in GitHub Desktop.
Save zaydek/db4ebb897aeeae6648d154c2d086d49e to your computer and use it in GitHub Desktop.

create-retro-app

Retro is a friendly development server and static-site generator (SSG) for React apps.


	Usage:

		retro create [dir]      // Creates a new Retro app at directory 'dir'
		retro watch [...dirs]   // Starts the development server and watches 'dirs' for changes
		retro build             // Builds the production-ready build
		retro serve             // Serves the production-ready build

	retro create [dir]

		'retro create' creates a new Retro app at directory 'dir'

			--language=[js | ts]  // Programming language (default 'js')

	retro watch [...dirs]

		'retro watch' starts a development server and watches directories 'dirs' for
		changes (default 'components pages')

			--poll=<duration>     // Poll duration (default '250ms')
			--port=<number>       // Port number (default '8000')

	retro build

		'retro build' builds the production-ready build

			--cached              // Use cached props for faster builds (disabled by default)

	retro serve

		'retro serve' serves the production-ready build

			--port=<number>       // Port number (default '8000')

	Repository:

		https://github.com/zaydek/retro

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment