StickyBoard
Search…
Develop Your Own Component
Describes how to develop your own component for StickyBoard.

@stickyboard/component-base

This package is a component base for developing a new StickyBoard component.
You can download the repository, and create your own component by adding some code to the component base.
GitHub - soaple/stickyboard-component-base: Component base for StickyBoard
GitHub

Setting up the local development environment

After creating your own StickyBoard component project by copying @stickyboard/component-base, you have to set up the local development environment.
First, go to your component directory, and create a symlink using the command below.
1
my-component$ npm link
Copied!
Second, start packaging the component using the webpack by the command below.
1
my-component$ npm start
Copied!
Next, go to your StickyBoard app's directory, and link the component using the command below.
1
my-stickyboard-app$ npm link <YOUR_COMPONENT_NAME>
Copied!
Finally, start your StickyBoard app by the command below.
1
my-stickyboard-app$ npm run dev
Copied!
Now, you can use and test your own StickyBoard component!
Last modified 1yr ago