How to generate a bundle
Navigate into the starter kit:cd canva-apps-sdk-starter-kitbash
Run the following command:npm run buildbash
app.jsfile will appear in the
How to upload a bundle
- Log in to the Developer Portal.
- Navigate to an app via the Your apps page.
- Upload the
- Canva doesn't support code-splitting, so all code and dependencies must be bundled in a single file. (You can still organize your code into separate files. The webpack configuration in the starter kit takes care of the bundling.)