# sample.ui5lib

> A Sample UI5 Lib

Latest version **0.0.1** (published 2023-01-20) · 0 weekly downloads

## Install

```sh
npm install sample.ui5lib
pnpm add sample.ui5lib
yarn add sample.ui5lib
bun add sample.ui5lib
```

## Health

**Score 10/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; low quality score; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.1 |
| Published | 2023-01-20 |
| First published | 2023-01-20 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 11.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | dillisaravanan |

## Links

- npm: https://www.npmjs.com/package/sample.ui5lib
- npm.io page: https://npm.io/package/sample.ui5lib

## Recent versions

- 0.0.1 (latest) — 2023-01-20

## README

# ui5-webide-demo-lib

This is just a demo project to illustrate how smoothly you can implement a ui5 library using the SAP Web IDE Full-Stack.

# Links
TODO

# Checknig the App Index (after deployment)

1. After deployment to SAPCP check the App Index for each of the deployed projects, i.e.:
    - nabi.sample.ui5lib
	    - https://flpnwc-p123456trial.dispatcher.hana.ondemand.com/sap/bc/ui2/app_index/ui5_app_info?id=nabi.sample.ui5lib
		- https://flpportal-p123456trial.dispatcher.hanatrial.ondemand.com/sap/bc/ui2/app_index/ui5_app_info?id=nabi.sample.ui5lib
		- https://flpnwc-p123456trial.dispatcher.hana.ondemand.com/sap/bc/ui2/app_index/ui5_app_info_json?id=nabi.sample.ui5lib


	
	**FYI**: The `id` parameter is the corresponding SAPUI5 Component ID, i.e. try `sap.m` to see how a correct result should look like and compare it with the result of your own component.

1. What about the ABAP App Index?

Yes, there is also an App Index in ABAP. In fact, you only need to replace the host etc so that the URLs above point to your ABAP server, i.e.:

- https://abap.mycompany.com/sap/bc/ui2/app_index/ui5_app_info?id=nabi.sample.ui5lib
- https://abap.mycompany.com/sap/bc/ui2/app_index/ui5_app_info_json?id=nabi.sample.ui5lib

As you can see, that works because paths (i.e. /sap/bc/ui2/app_index/ui5_app_info_json) are the same on both ABAP and SAPCP.

# Local Build

1. Clone repo and change directory

	```
    git clone https://github.com/nzamani/ui5-webide-demo-lib.git
    cd ui5-webide-demo-lib
	```

1. Add SAP's NPM package registry (if you haven't already)
    - Local: `npm config set @sap:registry https://npm.sap.com`
	- Global: `npm config --global set @sap:registry https://npm.sap.com`

1. Install NPM Dependencies and build library

	```
    npm install
    grunt
	```

	Check the dist folder.

---
_Source: https://npm.io/package/sample.ui5lib · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
