cra-template-ab-typescript

0.9.4 • Public • Published

cra-template-ab-typescript

This is the TypeScript template for Create React App.

To use this template, add --template ab-typescript when creating a new app.

For example:

npx create-react-app my-app --template ab-typescript

# or

yarn create react-app my-app --template ab-typescript

For more information, please refer to:

How to use

We use three libraries for graphql (read how to install them):

Scripts

To generate apollo hooks:

yarn gql:codegen

If you want to run fake API then:

yarn gql:faker

Issues

Sometimes if you run the app you can see issues with babel. Try remove node_modules and yarn.lock and install it again

Package Sidebar

Install

npm i cra-template-ab-typescript

Weekly Downloads

0

Version

0.9.4

License

MIT

Unpacked Size

39.7 kB

Total Files

32

Last publish

Collaborators

  • vbait