Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Toolkit
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
digital blueprint
Web Component Framework
Toolkit
Commits
2e6467da
Unverified
Commit
2e6467da
authored
4 years ago
by
Bekerle, Patrizio
Browse files
Options
Downloads
Patches
Plain Diff
Publish app-shell (
#36
)
parent
2319fa61
No related branches found
No related tags found
No related merge requests found
Pipeline
#14619
passed
4 years ago
Stage: test
Stage: publish
Changes
3
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
packages/app-shell/.npmignore
+5
-0
5 additions, 0 deletions
packages/app-shell/.npmignore
packages/app-shell/README.md
+10
-0
10 additions, 0 deletions
packages/app-shell/README.md
packages/app-shell/package.json
+1
-2
1 addition, 2 deletions
packages/app-shell/package.json
with
16 additions
and
2 deletions
packages/app-shell/.npmignore
0 → 100644
+
5
−
0
View file @
2e6467da
node_modules
.idea
npm-debug.log
package-lock.json
index.html
This diff is collapsed.
Click to expand it.
packages/app-shell/README.md
+
10
−
0
View file @
2e6467da
...
@@ -3,10 +3,17 @@
...
@@ -3,10 +3,17 @@
A web component for building SPAs consisting of one topic with multiple
A web component for building SPAs consisting of one topic with multiple
activities. Handles login, language selection, activity switching, menus etc.
activities. Handles login, language selection, activity switching, menus etc.
You can install these component via npm:
```
bash
npm i @dbp-toolkit/app-shell
```
## Usage
## Usage
```
html
```
html
<dbp-app-shell
src=
"/example.topic.metadata.json"
></dbp-app-shell>
<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
## Attributes
...
@@ -83,6 +90,9 @@ yarn run watch
...
@@ -83,6 +90,9 @@ yarn run watch
# run tests
# run tests
yarn
test
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.
Jump to
<http://localhost:8002>
and you should get a Single Sign On login page.
This diff is collapsed.
Click to expand it.
packages/app-shell/package.json
+
1
−
2
View file @
2e6467da
{
{
"name"
:
"@dbp-toolkit/app-shell"
,
"name"
:
"@dbp-toolkit/app-shell"
,
"homepage"
:
"https://gitlab.tugraz.at/dbp/web-components/toolkit/-/tree/master/packages/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"
,
"main"
:
"src/index.js"
,
"license"
:
"LGPL-2.1-or-later"
,
"license"
:
"LGPL-2.1-or-later"
,
"private"
:
true
,
"devDependencies"
:
{
"devDependencies"
:
{
"@rollup/plugin-commonjs"
:
"^16.0.0"
,
"@rollup/plugin-commonjs"
:
"^16.0.0"
,
"@rollup/plugin-json"
:
"^4.1.0"
,
"@rollup/plugin-json"
:
"^4.1.0"
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment