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

sjq-element-ui

v0.0.201

Published

基于element-ui实现的二次封装

Downloads

22

Readme

sjq-element-ui

介绍

基于element-ui实现的二次封装

*基于element-ui的几个组件进行二次封装发布到npm上,保证任何基于element-ui的vue项目都可以使用这套插件。* *公司内部使用,请勿下载。* 使用方法 main.js引入

import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
Vue.use(ElementUI);
import sjqUI from 'sjq-element-ui'
Vue.use(sjqUI)

开发维护人员使用

1.世纪桥组件使用规范说明 在views文件夹下(首页views/home/index.vue)

2.所有封装组件必须放到elementPlugin文件夹下,创建该组件文件夹,并在index.js中导入(elementPlugin/index.js)

3.所有封装好组件必须详细表明参数,可适当表明用法,参数标配

| 参数 | 说明 | 类型 | 可选值 | 默认值 | | ---- | :--- | ---- | ---- | ---- | | | | | | |

4.npm发布注意事项

a.发布之前更改版本号,如果不改,则会报错(尽量避免已发布的组件反复更改,版本号依次递增)

b.封装组件打包 npm run lib

c.组件发布 npm publish(注意:1.组件发布需要有自己的npm账号,如若没有,请自行注册2.发布之前请且换到npm官方源,切记不可使用淘宝镜像)

d.版本发布成功后,如果用淘宝镜像的伙伴们下载可能还是老版本,请耐心等候,或就使用npm官方源下载(ps:淘宝镜像和 npm 官方源并不是同步更新的,因此更新时间可能会有所不同。一般来说,淘宝镜像会在几分钟到几个小时之内同步官方源的更新,但具体时间取决于同步的数据量和网络情况等因素。如果你需要使用最新的 npm 包,建议使用官方源。