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. cd into my-project and run npm init followed by git init. This will setup your package.json and initialise a git repository.

  3. bm forms init Can now be ran. For the question "Which folder should I write the component source to?" answer with "my-forms/src" and then accept the defaults.
    For the framework, select the framework you wish to use (AngularJS is included by default). This is where you would select frameworks added by your own custom Forms CLI plugins.

...

Further Reading on Forms CLI Plugins:

Managing Output with Plugins and Templates

...