Built-In Plugins
- Aaron Roworth
AngularJS
Usage
The AngularJS plugin is default with the Forms CLI and can be used either by selecting AngularJS during bm forms init, or manually:
cd path/to/project bm forms plugin add @blinkmobile/bm-plugin-forms-angularjs bm forms plugin templates
This will produce your output in AngularJS 1.5.
When prompted during the bm forms init step, select "AngularJS" from the list of plugins.
The resulting files will be written to the source (component source) folder in your project.
JSON
Usage
The JSON renderer plugin renders a Blink Mobile Form Definition to a normalised JSON structure, which then writes that structure to files.
When prompted during the bm-forms-init step, select "JSON" from the list of plugins.
The resulting JSON files will be written to the source (component source) folder in your project.
Make sure you have the Forms transformer extension to the Blink Mobile Technologies CLI installed:
npm install -g @blinkmobile/cli @blinkmobile/project-shockwave
Create your .blinkmrc.json in your project folder:
$ mkdir my-project $ cd my-project $ bm forms init