Files
backstage/plugins/gcalendar
Fredrik Adelöw 88a03f3e4d Merge pull request #18870 from backstage/renovate/luxon-3.x-lockfile
fix(deps): update dependency luxon to v3.4.2
2023-09-04 11:54:23 +02:00
..
2023-09-04 09:47:28 +02:00
2023-09-04 09:47:28 +02:00
2023-08-18 14:00:29 +02:00
2023-08-29 12:18:08 +00:00

Google calendar plugin

Plugin displays events from google calendar

Getting started

The plugin exports HomePageCalendar widget for the Homepage. If your homepage is not static JSX add gcalendarApiRef to the App's apis.ts:

import {
  GCalendarApiClient,
  gcalendarApiRef,
} from '@backstage/plugin-gcalendar';

export const apis = [
  // ...
  createApiFactory({
    api: gcalendarApiRef,
    deps: { authApi: googleAuthApiRef, fetchApi: fetchApiRef },
    factory: deps => new GCalendarApiClient(deps),
  }),
];

You can also serve the plugin in isolation by running yarn start in the plugin directory. This method of serving the plugin provides quicker iteration speed and a faster startup and hot reloads. It is only meant for local development, and the setup for it can be found inside the /dev directory.