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

hfun-ui-vite

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hfun-ui-vite

  • 0.1.9
  • latest
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

hfunui

hfunUI 组件库🧑‍💻👩‍💻👨‍💻

中文 | English

✨ 特性

  • ✈️ 基于 Vite 开发,紧跟时代
  • 📝 官方文档急于 VitePress 搭建
  • 🌈 用 UnoCss 实现原子化 CSS
  • 💻 基于 Vitest进行单元测试
  • 📰 基于 Eslint + Prettier + husky完成项目规范化
  • 🧮 基于 Github Action 进行 CI、CD
  • 📤 利用 Monorepo 方式管理组件库生态
  • 🔥 使用 Codecov 生成测试报告

🔑 安装

使用 pnpm 安装

pnpm add --save-dev hfun-ui-vite

使用 npm 安装

npm install --save-dev hfun-ui-vite

使用 yarn 安装

yarn add --save-dev hfun-ui-vite

🎉 快速上手

📈 全量导入

main.ts 中引入下面内容

import { createApp } from 'vue'
import App from './App.vue'
import hfunUI from 'hfun-ui-vite'
import 'hfun-ui-vite/style.css'

createApp(App).use(hfunUI).mount('#app')

😄 按需导入

import { createApp } from 'vue'
import App from './App.vue'

import { HButton } from 'hfun-ui-vite'
import 'hfun-ui-vite/HButton/style.css'
createApp(App).component(HButton.name, HButton).mount('#app')

🎨 相关链接

FAQs

Package last updated on 24 Oct 2022

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