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

@persagy2/meri-design

v1.4.9-extend.3

Published

fork from meri-design and extend it.

Downloads

3

Readme

@persagy/meri-design

适用范围: vue <=2.6.11, meri-design < 2 Tips: 此仓库不做任何主动性变更, 仅用于修复或扩展 meri-design 组件功能. (注: 不存在任何破坏性变更)

usage

  • install

npm install @persagy2/meri-design

# or

yarn add @persagy2/meri-design
  • 按需引用 ( .babelrc 配置)
[
    "component",
    {
        "libraryName": "@persagy2/meri-design",
        "camel2Dash": false,
        "libDir": "dist",
        "style": false
    }
]

使用

  • 全量引入使用
// main.(tj)s
import '@persagy2/meri-design/dist/index.css'

// 添加所有
import Vue from 'vue'
import * as meri from '@persagy2/meri-design'

Vue.use(meri)

// 组件内按需
import {} from '@persagy2/meri-design'

特定问题解决方案

  1. 远端图片资源加载失败问题

    q: 问题原因

    a: 协议或网络问题导致图片加载失败

    p: 解决方法

    1. 打开 `node_modules/@persagy2/meri-design/` 目录, 将 `persagy_ui_kit` 文件夹复制到项目的`./public`文件夹下
    2. 测试运行后是否可以访问 `<host>/persagy_ui_kit/images/avatar/default.png` (不)
    3. 配置 Vue.prototype.meriDesignCustomImageServer = '<服务域名>'