gui2-fw-lib
TypeScript icon, indicating that this package has built-in type declarations

2.3.5 • Public • Published

Gui2FwLibApp

This project separates out the Framework part of the ONOS GUI2 project in to a separate Angular library

It is separate to the main ONOS GUI2 project which is in ~/onos/web/gui2

It allows external applications e.g. onos-gui to use it, without bringing along the whole of GUI 2

The Bazel build of this library handles the building and packaging of the library so that other projects and libraries can use it.

Development server

To build the npm library project using Bazel run: bazel build //web/gui2-fw-lib:gui2-fw-lib-npm inside the ~/onos folder.

To make the library in to an NPM package use bazel run //web/gui2-fw-lib:gui2-fw-lib-npm.pack

Code scaffolding

Run bazel run @npm//:node_modules/@angular/cli/bin/ng generate component component-name --project=gui2-fw-lib to generate a new component. You can also use bazel run @npm//:node_modules/@angular/cli/bin/ng generate directive|pipe|service|class|guard|interface|enum|module.

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i gui2-fw-lib

      Weekly Downloads

      17

      Version

      2.3.5

      License

      Apache-2.0

      Unpacked Size

      4.4 MB

      Total Files

      163

      Last publish

      Collaborators

      • onfauto
      • scondon