unblock-block-save-variables v1.0.0
Tripetto is a full-fledged form kit. Rapidly build and run smart flowing forms and surveys. Drop the kit in your codebase and use all of it or just the parts you need. The visual builder is for form building, and the runners are for running those forms in different UI variants. It is entirely extendible and customizable. Anyone can build their own building blocks (e.g., question types) or runner UI's.
Boilerplate for creating blocks
Perhaps one of the best things about Tripetto is that you can create your own building blocks. This boilerplate shows you how to do that. Use it as a starting point for your creativity.
Get started
- Download or clone the repository to your local machine:
$ git clone https://gitlab.com/tripetto/blocks/boilerplate.git
- Run
npm install
inside the downloaded/cloned folder:
$ npm install
- Start the builder and load the block in developer (test) mode:
$ npm test
This command will start the local builder server and tries to open the URL http://localhost:3333
in your default browser. If no browser opens, just open the browser of your choice and navigate to this URL. By default the form definition located at ./tests/example.json
is loaded.
Next, open your favorite code editor/IDE and start working on your block. When a source code change is detected, the block should automatically recompile and the Tripetto builder in the browser should refresh.
Publish your block
When your block is done, you may want to publish it. Make sure you update the name and description in package.json
before doing so. Also set the private
property to false
(currently it is set to true
to preserve unwanted publication).
Next, run the following command to increment the package version number, do a production build and publish the package to the npm registry.
$ npm run publish:patch
When your block is published, other people can install it and start using it inside the Tripetto builder. All details on how to do that can be found here.
Documentation
The complete documentation can be found at docs.tripetto.com.
Detailed blocks documentation is found here.
Support
Run into issues or bugs? Report them here and we'll look into them.
For general support contact us at support@tripetto.com. We're more than happy to assist you.
License
Have a blast. MIT.
Community
We hope other enthusiasts will also start to develop and share runners and blocks for Tripetto. We have a repository where we collect a list of community driven blocks and runners. Did you build something? Submit a PR and add yours to the list. We appreciate it!
About us
If you want to learn more about Tripetto or contribute in any way, visit us at Tripetto.com.
3 years ago