@adiatma/cra-template 中文文档教程
cra-template
Usage
npx create-react-app my-app --template @adiatma/cra-template
*下载适合您的 graphql 端点的
graphql_schema.json
,使用命令 npx get-graphql-schema YOURGRAPHQLENDPOINT -j > graphql_schema.json
Dependencies
- graphql
- @apollo/client
- @reasonml-community/graphql-ppx
- reason-promise
- subscriptions-transport-ws
- reason-apollo-client
cra-template
Usage
npx create-react-app my-app --template @adiatma/cra-template
*Download
graphql_schema.json
suitable with your graphql endpoint, with command npx get-graphql-schema YOURGRAPHQLENDPOINT -j > graphql_schema.json
Dependencies
- graphql
- @apollo/client
- @reasonml-community/graphql-ppx
- reason-promise
- subscriptions-transport-ws
- reason-apollo-client