You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is especially confusing, since the CLI only lists invalid (?) options?
create-react-router --help returns the following:
- a GitHub repo shorthand, :username/:repo or :username/:repo/:directory
- the URL of a GitHub repo (or directory within it)
- the URL of a tarball
- a file path to a directory of files
- a file path to a tarball
$ create-react-router my-app --template remix-run/react-router/templates/basic
$ create-react-router my-app --template remix-run/react-router/examples/basic
$ create-react-router my-app --template :username/:repo
$ create-react-router my-app --template :username/:repo/:directory
$ create-react-router my-app --template https://github.com/:username/:repo
$ create-react-router my-app --template https://github.com/:username/:repo/tree/:branch
$ create-react-router my-app --template https://github.com/:username/:repo/tree/:branch/:directory
$ create-react-router my-app --template https://github.com/:username/:repo/archive/refs/tags/:tag.tar.gz
$ create-react-router my-app --template https://example.com/template.tar.gz
$ create-react-router my-app --template ./path/to/template
$ create-react-router my-app --template ./path/to/template.tar.gz
The proposed template paths in README.md in this repo or provided by calling create-react-router --help don't work:
create-react-router v7.5.0
◼ Directory: Using my-test as project directory
◼ Template: Using remix-run/react-router-templates/basic...
██████ Template copying...
▲ Oh no! The path "basic" was not found in this GitHub repo.
create-react-router v7.5.0
◼ Directory: Using my-test as project directory
◼ Template: Using remix-run/react-router/templates/basic...
██████ Template copying...
▲ Oh no! The path "templates/basic" was not found in this GitHub repo.
The readme shows the command to use with eg. <template_name> but doesn't say what the options are or where to learn what the options are.
The text was updated successfully, but these errors were encountered: