I imported the plugin into the /ui/src/plugins
folder,and executed
make ui
make build
But it doesn't show up in the background
I imported the plugin into the /ui/src/plugins
folder,and executed
make ui
make build
But it doesn't show up in the background
Packaging a plugin is not the same as developing a plugin. To introduce a plugin during debugging, we usually put the plugin in the /ui/src/plugins
directory, which is not necessary when packaging it.
For more steps in the documentation you can do this.
First, build a basic answer binary using your local code.
make build
Second, package your local plugin into a new answer binary using the answer build --with local
command.
eg:
third, Run ./new_answer plugin
command to see if the plug-in is packaged.
Finally, run the binary locally to see if the plugin is packaged correctly. Note that ./answer
needs to be replaced with the packaged ./new_answer
. For more usage, please refer to the installation documentation
Result: