inductiveautomation / ignition-sdk-examples

Ignition SDK Example Projects
164 stars 92 forks source link

create a minimal perspective component example #81

Closed PerryAJ closed 7 months ago

PerryAJ commented 3 years ago

The current perspective example module demonstrates most of the APIs available to component authors, and does so with a build-tooling environment that resembles what one might want for a 'production quality' module. This is useful for demonstration, but it also dramatically clouds the minimal API usage required to simply add a single component.

We should create a bare bones perspective component example that is free of nodejs tooling, and uses a single hand-written js file, and demonstrates the bare minimum requirements to use it in a functional module. This should avoid all accessory APIs to provide the best clarity into what it takes to register a single component.