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. This will prompt you to set up where the CLI will write your source to, as well as which framework to use. AngularJS and JSON are currently included by default. Later, we'll talk more about how you can use your own custom Forms CLI plugins.

If the defaults are used, you should end up with a folder structure that matches the following:

Column
width225px


Panel
bgColorlightblue
borderStylesolid
|--my-project/
|--.git/
|--node_modules/
|--my-forms/
|  |--templates/
|--.blinkmrc.json
|--package.json


Next Step

bm forms create & bm forms build: Creating the Library Source