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

@zhaochengxian/big-screen-components

v1.0.1

Published

big-screen-components for vue3+vite

Downloads

10

Readme

DataV Vue3+TS+Vite版

Author

LICENSE

NPM

由于之前大佬写的 DataV 存在各种兼容性问题,我做了一些优化 1 轮播表的columnWidth不支持百分比 2 轮播表的单元格如果内容很长,展示不全,没有鼠标悬浮展示所有功能 3 支持插槽

使用方法

  • 安装,此处使用pnpm工具,也可以yarn,npm等
pnpm install @zhaochengxian/big-screen-component

全局引入

// main.ts中全局引入
import { createApp } from 'vue'
import DataVVue3 from '@zhaochengxian/big-screen-component'

const app = createApp(App)

app.use(DataVVue3)
app.mount('#app')

引入后在.vue文件中可以直接使用

<dv-decoration-1 :color="['pink','yellow']" style="width:200px;height:50px;" />

局部引入

<!-- 在.vue文件的script中import部分组件 -->
<script lang="ts" setup>
import { Decoration1, Decoration2 } from '@zhaochengxian/big-screen-component'
</script>

<template>
  <!-- 引入之后就可以在vue的template中直接使用 -->
  <Decoration1 :color="['pink', 'yellow']" style="width:200px;height:50px;" />
  <Decoration2 :reverse="true" style="width:5px;height:150px;" />
</template>

新的组件库开发根据大佬的 MY-Kit 开发。支持脚本生成基础文件,文档,可使用Markdown一边开发源码一边写文档。详情可见MY-Kit文档。

文档样式说明

  • 文档部分 demo 的 CSS 样式使用 UnoCSS 构建,文档里使用的一些 UnoCSSshortcuts,例如:demo-bgdv-bgsmall-bg、 见 UnoCSS 配置文件:unocss.config.ts,路径:packages/docs/unocss.config.ts