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

ydzh-vue2-common

v1.0.7

Published

## 提示:

Downloads

1

Readme

vue2-common-componsents

提示:

1.修改之后必须更改版本
2.必须经过测试在发布

1.新增组件

1.在package目录下新建立文件夹和vue文件
2.vue文件必须有name属性
3.在package/index.js 导入组件并且加入到components数组中
4.请在READE.md里添加组件的对应解释和使用步骤

2.新增公用方法

1.在utills/modules目录下建立文件
2.在utils/index.js文件里导入这个文件
3.请在方法里表面方法的参数解释

3.已有组件实例

1.yd-button  基本规则和elelment-button使用一样,多了一个权限编码属性(必传)
  <yd-button type="primary" 
  icon="el-icon-search"size="mini"      				
  @click="query"
  permission="datacenter_service:building:page"
  />
2.yd-page   增删查改页面的基本模板, 查询条件/按钮/表格/分页/弹框
  <yd-page
    :page-total="total"
    :page-size.sync="searchForm.size"
    :page-current.sync="searchForm.current"
    @pagination="query"
  >
  	<template #search></template>
  	<template #op-btns></template>
  	<template #table></template>
  	<template #default></template>
  </yd-page>
3. yd-map  通过leaft组件 做的一个地图选点功能
    <yd-map ref="map" 
    :marker="currentMarker" 
    :latitude.sync="fromInfo.latitude" 
    :longitude.sync="fromInfo.longitude" />