blob: 80c90502143c824e6594515a112019c132862d2c [file] [log] [blame]
Sean Condon5ca00262018-09-06 17:55:25 +01001<!--
2~ Copyright 2018-present Open Networking Foundation
3~
4~ Licensed under the Apache License, Version 2.0 (the "License");
5~ you may not use this file except in compliance with the License.
6~ You may obtain a copy of the License at
7~
8~ http://www.apache.org/licenses/LICENSE-2.0
9~
10~ Unless required by applicable law or agreed to in writing, software
11~ distributed under the License is distributed on an "AS IS" BASIS,
12~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13~ See the License for the specific language governing permissions and
14~ limitations under the License.
15-->
16
17<div style="text-align:center">
Sean Condon53d4e832019-10-25 12:27:54 +010018 <onos-icon [classes]="'inactive'" iconId="nav_apps" iconSize="200" toolTip="Test app"></onos-icon>
Sean Condon5ca00262018-09-06 17:55:25 +010019 <h1>
20 Welcome to {{ title }}!
21 </h1>
22</div>
23<h2>Test App - Do not use or extend</h2>
24<p>This app is just a wrapper around the GUI 2 Framework Library and is
25 necessary only to provide a base for that library.
26It has a use in validating that the library can be loaded.
27
28The library is linked in here by the addition of the paths statement in
29 tsconfig.json. This is fine for accessing a local library, but for another
30 project it should be added in through package.json, using the 'file' locator.
31 Then run "npm install" in that target project and the tar will be expanded in
32 to it's node_modules folder.
33
34A good article on the creation and use of libraries in Angular 6 is given in<br />
35 <a href="https://blog.angularindepth.com/creating-a-library-in-angular-6-87799552e7e5">The Angular Library Series - Creating a Library with the Angular CLI</a><br />
36 and <br />
37 <a href="https://blog.angularindepth.com/creating-a-library-in-angular-6-part-2-6e2bc1e14121">The Angular Library Series - Building and Packaging</a><br />
38
39This "app" component is not built by Bazel - it's only the library that is built
40 by bazel which in turn calls "ng build --prod gui2-fw-lib" and then "npm pack"
41 resulting in a tar file that can be used as an NPM package anywhere.
42<br />
43Note: Please remember that in Angular 6 rebuilding of libraries is not automatic.
44 If you change anything in the library, you will have to build it again before
45 it is picked up in this app.
46</p>
Sean Condonbed2e032019-04-17 22:22:49 +010047<onos-quickhelp #qh></onos-quickhelp>
48<button (click)="qh.ks.quickHelpShown = true">Toggle quick help shown</button>