Vue2 component library for recreating Windows 7 UI.
npm i win7-ui
# or
yarn add win7-ui
// main.js or index.js
import Vue from "vue";
import Winui from "win7-ui";
import "win7-ui/lib/style.css";
...
Vue.use(Winui);
new Vue({
...
}).$mount("#app");
<template>
<winui-button @click="doSomething">Hello world!</winui-button>
</template>
<script>
export default {
methods: {
doSomething() {}
}
}
</script>
<style>
...
</style>
Refer to the official site
Refer to Releases