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 🙏

© 2025 – Pkg Stats / Ryan Hefner

mycom-vue3

v0.1.136

Published

<!-- * @Descripttion: * @version: * @Author: RoyalKnight * @Date: 2020-09-30 21:09:18 * @LastEditors: RoyalKnight * @LastEditTime: 2021-03-17 14:12:35 --> # mycom-vue3

Downloads

80

Readme

mycom-vue3

mycom-vue3主页

mycom-vue3

安装组件库

npm install mycom-vue3 --save

引入到vue3项目

import { createApp } from 'vue'
import App from './App.vue'
import {mc} from 'mycom-vue3'//引入组件库
import 'mycom-vue3/lib/mycom-vue3.css';//引入CSS样式文件

createApp(App).use(mc).mount('#app')

使用样例

直接在页面中使用组件,如下定义一个轮播图

mc-tab表示轮播图

mc-tab-page表示轮播图单页

可以定义属性height和width来定义轮播图大小

通过v-model来绑定轮播图当前的页号


<mc-tab v-model:value="test" height="200px" width="50%">
    <mc-tab-page>1</mc-tab-page>
    <mc-tab-page>2</mc-tab-page>
    <mc-tab-page>4</mc-tab-page>
</mc-tab>

1.0317版本更新

引入方式变更为import {mc} from 'mycom-vue3'//引入组件库,

用来弥补之前的版本失误,深表抱歉

mc-title 用法更新

1005版本更新

视觉效果风格统一

@import '../../../scssvar.scss';

暂定视效为

无边框radius

黑色一致性背景色 background-color: black;

通用转换动画 transition: all 0.2s;

灰border border: 1px solid rgba(0, 0, 0, 0.2);

hover待选择背景色 灰 background-color: rgba(80, 80, 80, 0.08); 白 background-color: rgba(255, 255, 255, 0.8);

color: rgba(0, 0, 0, 0.8);

矩形,黑白主体