@nx/remix:application

Generate a new Remix application.

Usage

1nx generate application ... 2
1nx g app ... #same 2

By default, Nx will search for application in the default collection provisioned in workspace.json.

You can specify the collection explicitly as follows:

1nx g @nx/remix:application ... 2

Show what will be generated without writing to disk:

1nx g application ... --dry-run 2

Options

directory

dir
string

A directory where the app is placed.

bundler

string
Default: vite
Accepted values: classic, vite

Bundler option (newer Remix versions use vite by default)

e2eTestRunner

string
Default: cypress
Accepted values: cypress, playwright, none

Test runner to use for e2e tests

js

boolean
Default: false

Generate JavaScript files rather than TypeScript files.

linter

string
Default: eslint
Accepted values: eslint, none

The tool to use for running lint checks.

name

string

projectNameAndRootFormat

string
Accepted values: as-provided, derived

Whether to generate the project name and root directory as provided (as-provided) or generate them composing their values and taking the configured layout into account (derived).

skipFormat

boolean
Default: false

Skip formatting files

tags

t
string

Add tags to the project (used for linting)

unitTestRunner

string
Default: vitest
Accepted values: vitest, jest, none

Test runner to use for unit tests.

rootProject

Internal
boolean
Default: false

No description available.