npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@degal/degal-app-ui

v1.0.1

Published

A uni-app UI components library

Downloads

7

Readme

基于 Uni-app 的 Vue3 UI 组件库。

license

简介

iui Design 是一款基于 uni-app 的前端组件库,它提供了一套可复用、易扩展、低耦合的移动端 UI 组件库,帮助开发者快速搭建移动应用。

设计灵感来自 ArcoDesign,感谢巨人,感谢[iui Design]!

预览

请使用微信搜索小程序 iui Design 进行体验。

移动端 H5:预览地址

版权信息

iui Design 遵循 Apache-2.0 开源协议,意味着您无需支付任何费用,也无需授权,即可将 iui Design 应用到您的产品中。

这并不意味着您可以将 iui Design 应用到非法的领域,比如涉及赌博,暴力等方面。如因此产生纠纷或法律问题,iui Design 相关方及云磁数字不承担任何责任。

安装

使用前,请确保你已经学习过 uni-app 的使用,你可以阅读 uni-app 文档

组件库

方式一:通过 npm 安装

npm i @degal/degal-app-ui
# or
yarn add @degal/degal-app-ui

方式二:通过 HBuilderX 导入

如果您是使用 HbuilderX 开发的用户,您可以在 uni-app 插件市场通过 uni_modules 的形式进行安装。

下载地址

Scss 插件

degal-app-ui 依赖 sass,您必须要安装此插件,否则无法正常运行。

  • 如果您使用的是 HbuilderX,您可以在 插件市场 中搜索 sass 进行安装。
  • 如果您的项目是由 vue-cli 创建的,请通过以下命令安装对 sass(scss)的支持,如果已安装,请略过。
# 安装sass
npm i sass -D

# 安装sass-loader
npm i sass-loader -D

配置

引入样式

App.vue 中引入 degal-app-ui 的样式。

<style lang="scss">
// npm 模式安装
@import "@degal/degal-app-ui/style/index.scss";

// HBuilderX 插件市场安装
@import "@/components/degal-app-ui/style/index.scss";
</style>

uni.scss 中引入 degal-app-ui 的主题样式和变量。

// npm 模式安装
@import "@degal/degal-app-ui/style/theme.scss";

// HBuilderX 插件市场安装
@import "@/components/degal-app-ui/style/theme.scss";

easycom 模式

degal-app-ui 支持 easycom 模式,您可以在 pages.json 中配置 easycom,然后无需引入即可使用组件。

npm 模式安装:

{
  "easycom": {
    "custom": {
      "^dui-(.*)": "@degal/degal-app-ui/components/dui-$1/dui-$1.vue"
    }
  }
}

HBuilderX 插件市场安装:

{
  "easycom": {
    "custom": {
      "^dui-(.*)": "@/components/degal-app-ui/components/dui-$1/dui-$1.vue"
    }
  }
}

提交 issue

  • 遇到问题时,请先确认这个问题是否已经在 issue 中有记录或者已被修复。
  • 提 issue 时,请用简短的语言描述遇到的问题,并添加出现问题时的环境和复现步骤。