mirror of
https://github.com/lingble/chatwoot.git
synced 2025-10-30 10:42:38 +00:00
- Add config for TailwindCSS - Enable HMR - Add a config in LocalStorage for Dark Mode Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
23 lines
399 B
Vue
23 lines
399 B
Vue
<template>
|
|
<woot-button
|
|
size="small"
|
|
variant="clear"
|
|
color-scheme="secondary"
|
|
class="-ml-3 text-black-900 dark:text-slate-300"
|
|
icon="list"
|
|
@click="onMenuItemClick"
|
|
/>
|
|
</template>
|
|
|
|
<script>
|
|
import { BUS_EVENTS } from 'shared/constants/busEvents';
|
|
|
|
export default {
|
|
methods: {
|
|
onMenuItemClick() {
|
|
bus.$emit(BUS_EVENTS.TOGGLE_SIDEMENU);
|
|
},
|
|
},
|
|
};
|
|
</script>
|