0.1.2 • Published 9 months ago
@ottogroup/ui5-launchpadhelpicon v0.1.2
@ottogroup/ui5-launchpadhelpicon
This package adds a small help icon to the launchpad shellbar.

https://www.npmjs.com/package/@ottogroup/ui5-launchpadhelpicon
Setup
Install
ui5-tooling-modulesas described here:- package.json (devDependencies + ui5.dependencies)
- ui5.yaml (server.customMiddleware + builder.customTasks)
Install packages
pnpm i @ottogroup/ui5-launchpadhelpicon --devSet alias in
tsconfig.json{ "compilerOptions": { "baseUrl": "./", // otherwise the node_modules folder can't be accessed "paths": { "@ottogroup/ui5-launchpadhelpicon": [ "node_modules/@ottogroup/ui5-launchpadhelpicon/src/LaunchpadHelpIcon" ] } } }Use
LaunchpadHelpIconimport LaunchpadHelpIcon from "@ottogroup/ui5-launchpadhelpicon"; const launchpadHelpIcon = new LaunchpadHelpIcon(); await launchpadHelpIcon.addItem({ name: "Google", url: "https://google.de", });
Useful links
https://github.com/SAP-samples/ui5-typescript-tutorial/tree/main/exercises/ex8