New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

goodluck-ui

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

goodluck-ui

## 介绍

  • 0.1.9
  • npm
  • Socket score

Version published
Weekly downloads
2
decreased by-75%
Maintainers
1
Weekly downloads
 
Created
Source

goodluck-ui

介绍

vue3 ui 组件库

使用 composition api+ typescript

下载 /download

npm i -s goodluck-ui

使用

import { createApp } from 'vue'
import App from './App.vue'
import goodluck from 'goodluck-ui'
import 'goodluck-ui/lib/goodluck-ui.css'
const app = createApp(App)
app.use(goodluck)

项目安装依赖 /npm insatll

npm i

项目运行查看组件示例 /npm run serve to see demos

npm run serve

组件

按钮 button

image-20211214190640365

按钮属性 /Button Attributes

参数说明类型可选值默认值
type按钮种类Stringblue/yellow/green/redblue
dot右上方显示一个小圆点标记Booleantrue/falsefalse
badge右上方标记内容String--
badgeColor右上方标记背景色String-yellow
max如果 badge 字符串是数字,可以指定这个数字的最大值,超过最大值则显示 +String--

demo

<g-button>登录</g-button>
<g-button type="red">通过</g-button>
<g-button type="green">通过</g-button>
<g-button type="yellow">通过</g-button>
<g-button dot>通过</g-button>
<g-button dot badgeColor="pink">通过</g-button>
<g-button badge="100">通过</g-button>
<g-button badge="100" max="50">通过</g-button>

FAQs

Package last updated on 17 Dec 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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