Skip to content

The @nx/remix plugin provides various generators to help you create and configure remix projects within your Nx workspace. Below is a complete reference for all available generators and their options.

For an overview of the plugin and setup instructions, see the @nx/remix introduction.

Convert existing Remix project(s) using @nx/remix:* executors to use @nx/remix/plugin. Defaults to migrating all projects. Pass ‘—project’ to migrate only one target.

Usage:

Terminal window
nx generate @nx/remix:convert-to-inferred [options]
OptionTypeDescriptionDefault
--projectstringThe project to convert from using the @nx/remix:* executors to use @nx/remix/plugin.
--skipFormatbooleanWhether to format files at the end of the migration.false

You can get help for any generator by adding the --help flag:

Terminal window
nx generate @nx/remix:<generator> --help