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

el_magic

v0.3.13

Published

element封装的ui组件

Downloads

19

Readme

magic

开发环境

element封装的ui组件

  • Node.js - 10.x
  • yarn - 1.16
  • Vue CLI - 3
# 获取代码
git clone https://git.leaniot.cn/platform/margic.git

# 下载依赖
yarn global add vuepress
yarn install

# 开发
yarn run serve

# 打包
yarn run build

# 开发-文档
yarn run docs:dev

# 打包-文档
yarn run docs:build

权限报错处理

Error: EACCES: permission denied
sudo chown -R $USER:$GROUP {报错路径}

组件列表

基础组件

| name | complete | desc
|----------------|----------|------------------------------- |PopoverConfirm| yes |弹出确认框
| Buttons | yes |按钮组
| clipboard | yes |剪贴板操作组件
| spinner | yes |过渡动画组件
| autoLoading | yes |自动加载组件
| select | yes |下拉选框(拓展全选功能) | treeSelect | yes |下拉树组件
| drawer | yes |抽屉组件
| split | yes |页面分割组件
| fullScreen | yes |全屏组件
| qrCode | yes |二维码组件
| signaturePen | yes |手写签字笔组件
| customPanel | yes |可拖动,拉伸面板
| layer | yes |弹框组件
| print | yes |打印功能

业务组件

| name | complete | desc
|----------|----------|----------------------------------- | page | yes | 页面组件 | tree | yes | 树型组件 | form | yes | 表单组件 | table | yes | 表格组件
|treegrid| yes | 树型表格组件
|editable| yes | 可编辑表格组件
| search | yes | 搜索框组件
| import | yes | 文件上传导入(txt, excel)

组件库文档 - 部署

使用 docker-compose 启动镜像,暴露容器的 8080 端口。

# docker-compose.yml

version: "3"

services:
  magic-doc:
    image: harbor.leaniot.cn/magic/doc:latest
    restart: unless-stopped
    ports:
      - 8080:8080