This project demonstrates the Compass componentPage module. It contains a Forge app written in Javascript that creates a new subtab called Hello world on the Compass component details page, then uses Custom UI to display Hello world! on the subtab.
Compass is currently in Beta. See atlassian.com/compass to request early access to Compass.
See developer.atlassian.com/platform/forge/ for documentation and tutorials explaining Forge.
See Set up Forge for instructions to get set up.
- Install top-level dependencies:
npm install
- Install dependencies inside of the
static/component-pagedirectory:
npm install
-
Modify your app by editing the files in
static/component-page/src/. -
Build your app (inside of the
static/component-pagedirectory):
npm run build
- Deploy your app by running:
forge deploy
- Install your app in an Atlassian site by running:
forge install
- Use the
forge deploycommand when you want to persist code changes. - Use the
forge installcommand when you want to install the app on a new site. - Once the app is installed on a site, the site picks up the new app changes you deploy without needing to rerun the install command.
See Get help for how to get help and provide feedback.