@tcpip147/electron-vue-titlebar

1.0.8 • Public • Published

Example

main.js

const { loadTitleBar } = require("@tcpip147/electron-vue-titlebar")

loadTitleBar(mainWindow)

preload.js

const { loadPreload } = require("@tcpip147/electron-vue-titlebar/preload")

loadPreload(contextBridge)

Example.vue

<script setup>
import TitleBar from '@tcpip147/electron-vue-titlebar/vue'
</script>

<template>
  <TitleBar title="hello" close-behavior="close" />
</template>

<style scoped></style>

Package Sidebar

Install

npm i @tcpip147/electron-vue-titlebar

Weekly Downloads

0

Version

1.0.8

License

MIT

Unpacked Size

7.45 kB

Total Files

7

Last publish

Collaborators

  • tcpip147