Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation for creating a boilerplate project is out of date #580

Open
alexnitta opened this issue Nov 19, 2019 · 1 comment
Open

Documentation for creating a boilerplate project is out of date #580

alexnitta opened this issue Nov 19, 2019 · 1 comment

Comments

@alexnitta
Copy link

In the Getting Started sections of the READMEs for the Basic and Advanced TypeScript boilerplates, the instructions mention using the graphql CLI with the --boilerplate argument. This argument is no longer supported, and results in the error: Unknown argument: boilerplate.

The correct way to use the graphql CLI to create a boilerplate project is just to do:

graphql create my-app

The CLI will prompt you for the boilerplate selection after that:

? Choose GraphQL boilerplate project:
  node-basic                Basic GraphQL server (incl. database)
  node-advanced             GraphQL server (incl. database & authentication)
  typescript-minimal        "Hello World" GraphQL server
❯ typescript-basic          Basic GraphQL server (incl. database)
  typescript-advanced       GraphQL server (incl. database & authentication)
  react-fullstack-minimal   "Hello World" fullstack app with React & GraphQL
  react-fullstack-basic     React app + GraphQL server (incl. database)
(Move up and down to reveal more choices)

Also, note that the Minimal option does exist now - in the root README it says this is "coming soon."

@lasharela
Copy link

this is outdated as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants