Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


A few steps should be taken by the developer before running the initial bm forms init command:

  1. Start with a folder for your project, and inside that create a folder to hold the forms components.

  2. Within the command line, cd into your project folder and run npm init followed by git init. This will setup your package.json and initialise a git repository, if you wish to do so.

...

bm forms init Can now be ran.


You will prompted with a handful of questions, the first asking the source of your forms definition. This will either be the answerSpace form, or your own JSON definition.

...

You'll then be prompted for the location of the folders you want to write both your source components and component distribution file too, as well as where the framework templates will be created. If you use the defaults, these will be bm-forms-srcdist and templates (only the templates folder will be created initially, until the bm forms createcreate and build steps are ran later).

...