Skip to content
Snippets Groups Projects
Unverified Commit 2e6467da authored by Bekerle, Patrizio's avatar Bekerle, Patrizio :fire:
Browse files

Publish app-shell (#36)

parent 2319fa61
No related branches found
No related tags found
No related merge requests found
Pipeline #14619 passed
node_modules
.idea
npm-debug.log
package-lock.json
index.html
......@@ -3,10 +3,17 @@
A web component for building SPAs consisting of one topic with multiple
activities. Handles login, language selection, activity switching, menus etc.
You can install these component via npm:
```bash
npm i @dbp-toolkit/app-shell
```
## Usage
```html
<dbp-app-shell src="/example.topic.metadata.json"></dbp-app-shell>
<script type="module" src="node_modules/@dbp-toolkit/app-shell/dist/dbp-app-shell.js"></script>
```
## Attributes
......@@ -83,6 +90,9 @@ yarn run watch
# run tests
yarn test
# build local packages in dist directory
yarn run build
```
Jump to <http://localhost:8002> and you should get a Single Sign On login page.
{
"name": "@dbp-toolkit/app-shell",
"homepage": "https://gitlab.tugraz.at/dbp/web-components/toolkit/-/tree/master/packages/app-shell",
"version": "0.1.0",
"version": "0.1.1",
"main": "src/index.js",
"license": "LGPL-2.1-or-later",
"private": true,
"devDependencies": {
"@rollup/plugin-commonjs": "^16.0.0",
"@rollup/plugin-json": "^4.1.0",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment