...
...
...
...
...
Setting up your Project Folder:
A few steps should be taken by the developer before running the initial bm forms init command:
...
- Inside your project folder,
...
- create a
...
- sub folder that will contain your forms components.
...
Using the command line, cd into your project folder (not your new forms folder, but the parent project folder) and run npm init. This will setup your package.json file, which is needed to handle the forms plugins.
You should end up with a folder structure similar to this:
You can now move on to using the Forms CLI.
Initialising the Builder Properties
After setting up your forms folder, you can then start using the Forms CLI by running the init command:
Code Block |
---|
bm forms init |
This will initialise the project, which will set up your blinkmrc.json file.
...
If the defaults are used, you should end up with a folder structure that matches the following:
Columncode | ||||
---|---|---|---|---|
| ||||
Panel | ||||
|
| |||
|--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
...