Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 30 Next »

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:

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

Next Step

Create & Build: Creating the Library Source and Building the Distribution File



  • No labels