mirror of
https://github.com/wassname/talk.git
synced 2026-06-29 20:53:07 +08:00
26 lines
507 B
JavaScript
26 lines
507 B
JavaScript
/**
|
|
This is a client index example file and it could look like this:
|
|
|
|
```
|
|
import LoveButton from './components/LoveButton';
|
|
|
|
export default {
|
|
slots: {
|
|
commentReactions: [LoveButton]
|
|
},
|
|
reducer,
|
|
translations
|
|
};
|
|
```
|
|
|
|
To read more info on how to build client plugins. Please, go to: https://docs.coralproject.net/talk/plugins-client
|
|
*/
|
|
|
|
import MyPluginComponent from './components/MyPluginComponent';
|
|
|
|
export default {
|
|
slots: {
|
|
stream: [MyPluginComponent],
|
|
},
|
|
};
|