0.0.6 • Published 6 years ago

@ektx/v-macos v0.0.6

Weekly downloads
-
License
MIT
Repository
-
Last release
6 years ago

v-macos

类似 Mac OS 的页面布局解决方案

更新

  • 添加了主菜单快速返回桌面功能

使用

HTML

<template>
	<div id="app">
		<VMacOSFrame />
	</div>
</template>

<script>
// 引入主界面
import { VMacOSFrame } from '@ektx/v-macos'

export default {
	name: 'app',
	components: { VMacOSFrame }
}
</script>

HTML

<template>
	<VMacOSDesktop hasRootNav />
</template>
import { VMacOSDesktop } from '@ektx/v-macos'

export default {
    name: 'index',
    components: {
        VMacOSDesktop
    }
}
  • hasRootNav [boolean] 是否启用组件自定义菜单

store.js 配置

// 引用对主菜单 mutation
import { MutaionMacOSTopbar } from '@ektx/v-macos'

export default new Vuex.Store({
    modules: {
        MutaionMacOSTopbar
    }
})
0.0.6

6 years ago

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago