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

deview-ui

v0.1.0-Beta

Published

<div align="center"> <img alt="logo" src="@/assets/images/compoent.png" width="120" height="120" style="margin-bottom: 10px;"> <h2 align="center">deview-ui</h2> <h3 align="center">UI组件库</h3> <h4 align="center" style="margin: 20px">基于Element UI

Downloads

3

Readme

GitHub地址:https://github.com/JXBurner/xburner-ui

使用说明

安装

npm install deview-ui | npm install deview-ui@版本号

引入


import DEViewUI from 'deview-ui'
Vue.use(inputCreate, {
  request: { request, requestGet },
  platform: '平台名称', // 需要引入的平台 web/mobile
  DEViewUI: DEViewUI.init('平台名称')
})

// 案例
Vue.use(inputCreate, {
  request: { request, requestGet },
  platform: 'web',
  DEViewUI: DEViewUI.init('web')
})

使用

DEViewUI接受一个参数platform代表平台类型,通过 Vue.use 方法传入request请求,平台类型,通过init调用引入平台类型的组件地址。(双端共有:platform=web时默认引入web和mobile组件)

项目依赖

  • PC端 —— Element UI
  • 移动端 —— vant

组件架构

包架构说明

IMAGE

  • config —— 常量目录
  • nativeComponents —— 原生组件目录
  • uiComponents —— 平台组件目录
    • minxins —— 公用的数据接口处理模块
    • mobile —— 移动端组件
      • base —— 基础组件
      • business —— 业务组建
    • web —— PC端组件
      • base —— 基础组件
      • business —— 业务组件
  • platform —— 平台入口
    • mobile.js —— 移动端平台入口
    • web.js —— PC端平台入口
  • utils —— 公共工具类方法文件目录
  • index.js —— 对外入口文件,该文件抛出 DEViewUI ,便于引入使用