mirror of
https://github.com/wassname/talk.git
synced 2026-06-28 23:58:38 +08:00
27 lines
512 B
JavaScript
27 lines
512 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://coralproject.github.io/talk/plugins-client.html
|
|
*/
|
|
|
|
import MyPluginComponent from './components/MyPluginComponent';
|
|
|
|
export default {
|
|
slots: {
|
|
stream: [MyPluginComponent]
|
|
}
|
|
};
|