Get started as Application Developer

August 9, 2022 ยท View on GitHub

Purpose

You are an Application Developer and you want to use DB UI Elements in your own application.

How to install

1. Choose your Framework & Theme

There are multiple Frameworks and Themes which are supported by DB UI Elements โ€“ use the default theme for any (Personenverkehr) Customer applications, whereas we intend to add further enterprise (B2E) specific components with the enterprise theme:

FrameworkThemeName
Vanilla JSdefault@db-ui/elements
Vanilla JSenterprise@db-ui/elements-enterprise
Angulardefault@db-ui/ngx-elements
Angularenterprise@db-ui/ngx-elements-enterprise
Reactdefault@db-ui/react-elements
Reactenterprise@db-ui/react-elements-enterprise
Vuedefault@db-ui/v-elements
Vueenterprise@db-ui/v-elements-enterprise

2. Install via npm

Now you should be able to install it e.g.:

npm i -save @db-ui/react-elements

As a result you should have 4 new folders in your node_modules:

@db-ui
  /base // colors
  /core // styles
  /elements // components
  /react-elements // framework components