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

hlg-ui

Package Overview
Dependencies
Maintainers
2
Versions
201
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hlg-ui

欢乐逛 UI 库

  • 0.27.42
  • npm
  • Socket score

Version published
Weekly downloads
96
decreased by-43.2%
Maintainers
2
Weekly downloads
 
Created
Source

欢乐逛 UI

https://ui.huanleguang.com


Quick Start

Install

npm install hlg-ui

Usage

import Vue from 'vue';
import HLGUI from 'hlg-ui';
import 'hlg-ui/lib/hlg-ui.css';

Vue.use(HLGUI);

Custom Style

HLGUI 使用 Sass 编写,如果你的项目也使用了 Sass,那么可以直接在项目中改变 HLGUI 的样式变量。

$--color-primary: #d92424;
$--color-primary-light-1: #F55252;
$--color-primary-light-2: #FFEEEE;

@import "~hlg-ui/packages/stylesheet/index.sass";

CDN

目前可以通过阿里 CDN 在页面上引入 js 文件即可开始使用。

<!-- 引入样式 -->
<link rel="stylesheet" href="//alicdn.huanleguang.com/package/hlg-ui@0.22.2/index.css">

<!-- 引入组件库 -->
<script src="//alicdn.huanleguang.com/package/hlg-ui@0.22.2/index.js"></script>

Development

1. 安装依赖

npm i

2. 本地开发

npm run dev

3. 单元测试

npm run test

4. 打包并发布

将会自动同步到 npmjs

npm run npm-publish

相关链接

🔗 线上

🔗 预发

TeamCity

🎨 设计稿

5. 更新图标

修改 /src/create-icon.js 文件下的 ICON_FONT_URL 地址

npm run update:icon

FAQs

Package last updated on 03 Dec 2020

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