|
преди 1 месец | |
---|---|---|
.github | преди 4 години | |
dist | преди 3 месеца | |
logo | преди 4 години | |
packages | преди 1 месец | |
.eslintrc.json | преди 5 години | |
.gitignore | преди 5 години | |
.nvmrc | преди 3 години | |
LICENSE.txt | преди 7 години | |
Makefile | преди 4 години | |
README.md | преди 3 години | |
_config.yml | преди 5 години | |
favicon.ico | преди 5 години | |
index.html | преди 1 месец | |
lerna.json | преди 5 години | |
package-lock.json | преди 2 години | |
package.json | преди 2 години | |
serviceworker.js | преди 4 години |
This repo contains community contributed plugins, not included in the core of Converse.js.
To see a demo of all the plugins working, click here
To create a new plugin, use generator-converse, which is a Yeoman generator.
Install Yeoman and the generator:
npm install -g yo generator-conversejs
Then, to create a new plugin, run the following:
$ yo conversejs my-sexy-plugin
Where my-sexy-plugin
should be replaced with the name of your plugin.
Simple raise a PR with your new plugin. Please make sure you do the following first
Before a plugin can be used, it needs to be whitelisted when you call converse.initialize
.
converse.initialize({
whitelisted_plugins: ['my-sexy-plugin'],
});
We've started using Lerna to manage the plugin packages.
For older plugins, the following needs to be done:
./packages/
directory@converse-plugins/name