Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@zhangqingcq/plug-r-qw

Package Overview
Dependencies
Maintainers
1
Versions
499
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@zhangqingcq/plug-r-qw

this is a collection fo plug-in developed when I was in qw

  • 1.0.51
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1.1K
increased by17983.33%
Maintainers
1
Weekly downloads
 
Created
Source

plug-r-qw

plug-in lib developed when I was in qw

注意:

  • 要看例子,需要下载github上项目,然后npm i安装依赖,推荐使用cnpm或淘宝镜像,然后npm run serve把项目跑起来,就可以在/index查看各个组件或方法的示例了。

  • 因为这个库里面包含UI组件,所以需要在main.js引用lab/plugRQw.min.css才能正常显示样式,如:import '@zhangqingcq/plug-r-qw/lib/plugRQw.min.css'

  • 如果需要定制化样式(例如主题色),则需要创建一个less文件(如plugRQwTheme.less,注意:这种情况下不再需要引入plugRQw.min.css),在该文件中顶部引入src/style/index.less (如:@import "~@zhangqingcq/plug-r-qw/src/style/index.less";),然后在后面写上想要覆盖的变量名,并给出想要的值,如:@primary: #46be87;默认颜色列表默认尺寸列表

注意:

  1. 请不要随意改变这些变量,除非你很清楚改变后会带来的影响,他们在整个库中被多次使用。
  2. 因为该库是基于view-design封装的,所以很多样式继承了view-design,要定制那些样式,直接定制view-design即可。
  • 因为有些方法使用频率较低,所以没有挂载在Vue原型或者window上,使用时需要单独引用,如:improt {fullScreenImgPreview} from '@zhangqingcq/plug-r-qw'

Keywords

FAQs

Package last updated on 06 Jul 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc