Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@ektx/v-macos

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ektx/v-macos - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

2

package.json
{
"name": "@ektx/v-macos",
"version": "0.0.1",
"version": "0.0.2",
"description": "系统主框架",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -1,18 +0,42 @@

# 基础组件文件结构模版
# v-macos
用于快速创建统一规范化的组件模块
类似 Mac OS 的页面布局解决方案
## 使用
描述组件的使用
HTML
```html
<template>
<div id="app">
<VMacOSFrame />
</div>
</template>
### store
当需要改变菜单时,你可能要用到 store 功能,我们为你提供了以下的方法,让你可以方便的修改你的应用菜单
<script>
// 引入主界面
import { VMacOSFrame } from '@ektx/v-macos'
> 确保你的项目使用了 vuex
export default {
name: 'app',
components: { VMacOSFrame }
}
</script>
```
在你的 stroe 文件中,先添加以下内容
HTML
```html
<template>
<VMacOSDesktop/>
</template>
```
```js
import { VMacOSDesktop } from '@ektx/v-macos'
import { mapMutations } from 'vuex'
export default {
name: 'index',
components: {
VMacOSDesktop
}
}
```
## API
组件相应的API说明
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc