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

mvtk-plus

v0.0.43

Published

## 直接使用npm安装

Downloads

18

Readme

残联组件库

快速开始

直接使用npm安装

安装 mvtk-plus

npm i mvtk-plus --save-dev

script 中引用组件:

import zcLoading from 'mvtk-plus/lib/zc-loading/zc-loading.vue'
export default {
    components: {zcLoading}
}

template 中使用组件:

<zc-loading ref="loading"/>

::: danger 注意

  • import组件的时候一定要按照上面的路劲来,路劲要给全,可省略后缀。

已支持的组件列表

|组件名|组件说明| |---|---| |echart|echart| |echart|echart|

加载中状态

组件名:zc-loading 代码块: zcLoading 关联组件:zc-loading

用意在于替换官方的uni.showLoading()方法。

注意事项 为了避免错误使用,给大家带来不好的开发体验,请在使用组件前仔细阅读下面的使用说明,可以帮你避免一些错误。

基本用法

<!-- loading -->
<our-loading isFullScreen ref="loading" />

export default {
    components: {},
    data() {
        return {
			
		}
	},
	methods: {
		open(){
            this.$refs.loading.open()
        },
        close(){
            this.$refs.loading.close()
        }
	}
}

API

Rate Props

属性名 | 类型 | 默认值 | 说明 :-: | :-: | :-: | :-: translateY | Number | 100 | 距顶部的距离 text | String | | 加载中的文案 textColor | String | #65cf6b | 文案颜色 isFullScreen | Boolean | false | 是否全屏

加载中状态

组件名:zc-loading 代码块: zcLoading 关联组件:zc-loading

用意在于替换官方的uni.showLoading()方法。

注意事项 为了避免错误使用,给大家带来不好的开发体验,请在使用组件前仔细阅读下面的使用说明,可以帮你避免一些错误。

基本用法

<!-- loading -->
<our-loading isFullScreen ref="loading" />

export default {
    components: {},
    data() {
        return {
			
		}
	},
	methods: {
		open(){
            this.$refs.loading.open()
        },
        close(){
            this.$refs.loading.close()
        }
	}
}

API

Rate Props

属性名 | 类型 | 默认值 | 说明 :-: | :-: | :-: | :-: translateY | Number | 100 | 距顶部的距离 text | String | | 加载中的文案 textColor | String | #65cf6b | 文案颜色 isFullScreen | Boolean | false | 是否全屏

如何发布组件

我们只需要在/components/index/package.json文件里面修改版本号

然后npm login 登录npm

最后运行 npm run build:npm 即可发布