Unleash awesomeness. Private packages, team management tools, and powerful integrations. Get started with npm Orgs »

@knora/viewer

6.0.0-alpha • Public • Published

Knora-ui viewer module

npm (scoped)

This module is part of Knora-ui modules, developed by the team at the Data and Service Center for Humanities DaSCH.

The viewer module contains object components to show the resource class representations from Knora, the gui-elements for the property values and different kind of view frameworks.

ATTENTION: Knora-ui viewer is under development!

Prerequisites

For help getting started with a new Angular app, check out the Angular CLI.

For existing apps, follow these steps to begin using Knora-ui viewer.

Install

You can use either the npm or yarn command-line tool to install packages. Use whichever is appropriate for your project in the examples below.

Yarn

$ yarn add @knora/viewer

NPM

$ npm install --save @knora/viewer

Dependencies

This module has the following package dependencies, which you also have to install.

  • @angular/common@6.0.0
  • @angular/core@6.0.0
  • @angular/material@6.0.0
  • @angular/animations@6.0.0"
  • @angular/cdk@6.0.0
  • @knora/core@6.0.0

Setup

Import the viewer module in your app.module.ts and add it to the NgModules's imports:

import { AppComponent } from './app.component';
import { KuiViewerModule } from '@knora/viewer';
 
@NgModule({
    declarations: [
        AppComponent
    ],
    imports: [
        KuiViewerModule
    ],
    providers: [ ],
    bootstrap: [AppComponent]
})
export class AppModule {
}

install

npm i @knora/viewer

Downloadsweekly downloads

14

version

6.0.0-alpha

license

none

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability