$ node --version
v20.11.0
$ npm --version
10.8.2
$ forge --version
10.3.0
When creating a new project following the steps:
- Navigate to the directory where you want to create the app. A new subdirectory with the app’s name will be created there.
- Create your app by running:
forge create
- Enter a name for your app (up to 50 characters). For example, hello-world-app.
- Select the UI Kit category.
- Select the Confluence product.
- Select the confluence-global-settings template.
- Change to the app subdirectory to see the app files:
cd hello-world-app
Then installing the plugin with:
forge deploy
followed by:
forge install
You can view the plugin in action as per screenshot:
Based on https://developer.atlassian.com/platform/forge/tunneling/ the forge tunnel command uses Cloudflare in the Atlassian Forge used by this example.
When running the command:
$ forge tunnel
Tunnel redirects requests you make to your local machine. This occurs for any Atlassian site where your app is installed in the specific development environment. You will not see requests from other users.
Press Ctrl+C to cancel.
=== Running forge lint...
No issues found.
=== Bundling code...
✔ Functions bundled.
✔ Resources bundled.
Listening for requests...
and refreshing the page where plugin is installed. Neither the Hello, world!
get displayed. Resulting on:
How to resolve this issue?