Create a project
The easiest way to set up a new project is via the corgi CLI. This page walks through that process at a high level.
Add pages
Pages live within the /src/pages/locale] directory. [locale] is a [dynamic route, which—when compiled—gets swapped out with the appropriate locale string in the URL ("en-US", "fr-CA", "pt-BR", etc.)
Components
Components typically live in the /src/components directory. This is not a requirement, but it is recommended for consistency's sake, as the corgi CLI creates components here.
Localize your content
This quick start guide will cover the bare minumum you need to get up and running. For more detailed information, check out the Localization documentation
Build for production
corgi requires Node.js version 16 or greater. If you use nvm, run the following before installing dependencies if you have not done so already: