Skip to content

Commit 337cc91

Browse files
authored
Update get-started.md
1 parent c74d0ff commit 337cc91

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

  • content/en/docs/apidocs-mxsdk/apidocs/studio-pro-11/extensibility-api/web

content/en/docs/apidocs-mxsdk/apidocs/studio-pro-11/extensibility-api/web/get-started.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,8 +151,7 @@ The `dist/` folder is generated by `npm run build` and is not present until you
151151

152152
* **`src/manifest.json`**Tells Studio Pro how to load your extension: which compiled JS files are the entry points (`main.js`, `tab.js`) and what permissions the extension requires. Update this file if you rename your entry point files.
153153
* **`src/main/index.ts`**The extension's main logic, which runs inside Studio Pro. Gets the Studio Pro API via `getStudioProApi`, registers a menu item under **Extensions** in the top menu bar, and opens a tab that renders the UI component when clicked. This is the primary file you will edit. If you rename this file, update the corresponding entry point in `build-extension.mjs`.
154-
* **`src/ui/index.tsx`**The React component rendered inside the Studio Pro tab. In the template it renders a simple heading and paragraphreplace it with your own UI. If you rename this file, update two places: the entry point in `build-extension.mjs`, and the `uiEntrypoint` value passed to `studioPro.ui.tabs.open(...)` in `src/main/index.ts`. You can delete this file entirely if you also remove both of those references.
155-
154+
* **`src/ui/index.tsx`**The React component rendered inside the Studio Pro tab. In the template it renders a simple heading and paragraph adn you should replace it with your own UI. If you rename this file, update two places: the entry point in `build-extension.mjs`, and the `uiEntrypoint` value passed to `studioPro.ui.tabs.open(...)` in `src/main/index.ts`. You can delete this file entirely if you also remove both of those references.
156155

157156
#### Other files
158157

0 commit comments

Comments
 (0)