Files
laconic-console/packages/console-client
2020-05-24 09:55:36 -04:00
..
2020-05-24 09:55:36 -04:00
2020-05-24 09:55:36 -04:00
2020-05-24 09:55:36 -04:00
2020-05-24 09:55:36 -04:00
2020-05-24 09:55:36 -04:00
2020-05-24 09:55:36 -04:00
2020-05-23 22:37:52 -04:00
2020-05-23 19:01:17 -04:00

Console

Apollo GraphQL client.

Usage

  yarn
  yarn start

http://localhost:8080

Deploy

  yarn build

This creates the following folders:

/dist
  /es               # Module imports.
  /production       # Production build.

NOTE: GQL and Production files and exported and may be used by the server.

import QUERY_STATUS from '@dxos/console-client/gql/system_status.graphql';
import config from '@dxos/console-client/config.json';

...

const file = path.join(__dirname + '../../../../node_modules/@dxos/console-client/dist/production', 'index.html');
res.sendFile(file);