Skip to content

create-a-menu-using-web-api #9875

@tswarmerdam-mx

Description

@tswarmerdam-mx

Please use the form below, leaving the prefilled data to help us. Thank you.

Page link: create-a-menu-using-web-api

Document link: menu-api.md

My Issue/Suggestion

This how to, and also the next one about the notification api, do not require any tab.ts or ui.js or similar files to be present (since there are no tab/pane-like UI components for these small extensions).
However from the template https://github.com/mendix/web-extension-template you DO get these files.
It would be nice if somewhere there is some explanation on which files are compiled into what upon npm run build, and which files you can remove from which places if you do not need them. If you just remove ui from the src folder stuff goes wrong.
I was able to figure it out eventually, and even though it's a good exercise, it is probably not so straightforward for people not experienced with typescript and vite transpilation configs.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions