refactor: update hopp-ui to be independent (#2927)
Co-authored-by: Anwarul Islam <anwaarulislaam@gmail.com>
This commit is contained in:
@@ -1,10 +1,11 @@
|
||||
import { HoppModule } from "."
|
||||
import HoppUI from "./../../../hoppscotch-ui/src"
|
||||
import { HoppUIPluginOptions } from "@hoppscotch/ui/src"
|
||||
import { plugin as HoppUI, HoppUIPluginOptions } from "@hoppscotch/ui"
|
||||
import { useKeybindingDisabler } from "~/helpers/keybindings"
|
||||
import { useI18n } from "vue-i18n"
|
||||
const { disableKeybindings, enableKeybindings } = useKeybindingDisabler()
|
||||
|
||||
import "@hoppscotch/ui/style.css"
|
||||
|
||||
const HoppUIOptions: HoppUIPluginOptions = {
|
||||
t: (key: string) => useI18n().t(key).toString(),
|
||||
onModalOpen: disableKeybindings,
|
||||
|
||||
Reference in New Issue
Block a user