Demo blocklet that showing how blocklet works in ABT node
npm install kitchen-sink-blocklet
Demo blocklet that showing how to define a blocklet:
- Meta, checkout blocklet.yml
- Interfaces: checkout app/index.js
- Hooks: checkout app/hooks
- Node.js v12.x or above
- A running ABT Node instance on dev environment
``shell`
npm install -g @abtnode/cli
`shell`
git clone https://github.com/blocklet/kitchen-sink-demo.git
cd kitchen-sink-demo
npm install # or yarn
`shell`
abtnode init -f
abtnode start
> The ABT Node instance is stored under the .abtnode directory.
`shell`
npm run deploy
> The blocklet is bundled under the .blocklet` directory
Then checkout the blocklet in your ABT Node Dashboard.