The application package (@c8y/apps
) provides example applications for the Web SDK.
To use the @c8y/apps you need to install the @c8y/cli. Refer to its documentation for installation instructions. Once installed you can run:
$ c8ycli new [your-app-name] [example-name]
For example, to generate the tutorial application with the name my-app
you need to run:
$ c8ycli new my-app tutorial
The following table provides an overview on the currently supported applications:
Name | Description |
---|---|
application |
An empty application to quickly bootstrap new applications. It is the default application and used if you don't specify an [example-name] . |
hybrid |
Also an empty application but running in hybrid mode. That means it can import angularjs plugins and therefore can be used for migration purpose. |
tutorial |
An application that already assembles most of the concepts of the @c8y/ngx-components. Use this to get real code examples. |
cockpit |
The Cockpit default application. Use this to extend the existing Cockpit application. |
devicemanagement |
The Devicemanagement default application. Use this to extend the existing Device Management application. |
administration |
The Administration default application. Use this to extend the existing Administration application. |