NexOpt GmbH Components

This project has all components we currently use in all of our projects.

Apps Menu

Asset

Summary

Heat Map

Skeleton

Editable Map

Drivelog Map

Asset Map

Tabs

Model

Spingallery

Tags

Chart






Serving components

To serve the project to quickly build components, just use:

ng serve



Developing components

To create new component:

ng g m compname --project=components
ng g c compname --project=components

For including it in build, make sure you add new entry in webpack.config.js as follows:

"components/compname": path.resolve(
    __dirname,
    "projects/components/src/lib/compname/compname.module.ts"
),



Building components

To build components:

npm run build

making latest dev build components as production:

npm run build:prod



showing documentation

serving:

npm run docs:serve

building:

npm run docs:build



including in environment

FOR PRODUCTION (npm run build:prod - copies files from build to prod)

https://cdn.nexopt.com/components/prod/angularapp.js

FOR DEVELOPMENT (updated from npm run build)

https://cdn.nexopt.com/components/build/angularapp.js

results matching ""

    No results matching ""