This short-lived version of the website is now deprecated. Please see https://github.com/interledger/interledger.org-v4 for the next iteration.
yarn
- Add
.env.local
In the project directory, you can run:
Runs the app in the development mode and watches for any changes to .graphql files which will automatically update the types.
Open http://localhost:3000 to view it in the browser.
Builds the app for production
Runs the production build
You will need the drupal cms running with graphql as this will create all the type and hooks required for using graphql
Generates a functional component. For code organisation this can be output to components, layouts or a custom directory. You can also select a graphql fragment to be generated for the component, which will result in a matching fragment type being added to the props
Generates a Next JS page
Generates a custom hook function
Generates a typescript interface
Generates a new redux store with minimal boilerplate
For convenience aliases have been added to all the main features
import { ComponentName } from '@components';
import { HookName } from '@hooks';
import { ModelName } from '@models';
import { ActionName, SelectorName } from '@store/store-name';
For convenience variables, mq, and helpers are automatically imported to all sass files.
If needed styles can be imported using
@import '@styles/styleName';
Debug your Next.js application using the regular Chrome DevTools, all you have to do now is open a new tab in Chrome with the url being: chrome://inspect.