ONOS Project GUI Framework Library built on Angular9+
npm install gui2-fw-libThis 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.
npm library project using Bazel run:bazel build //web/gui2-fw-lib:gui2-fw-lib-npm~/onos folder.To make the library in to an NPM package usebazel run //web/gui2-fw-lib:gui2-fw-lib-npm.pack
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 usebazel run @npm//:node_modules/@angular/cli/bin/ng generate directive|pipe|service|class|guard|interface|enum|module.