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

@raycloud-apaas-fe-setup/apaas-vue-basic-widgets

v1.1.6

Published

> TODO: 可视化搭建VUE版本基础组件库

Downloads

4

Readme

@raycloud-apaas-fe-setup/apaas-vue-basic-widgets

TODO: 可视化搭建VUE版本基础组件库

说明

以__开头的属性表示私有属性,不应该对外暴露可以配置的入口

思考

  • 目前对于表单组件,我们是手动在我们的组件中去写__mode='preview'来表示我们的预览模式,这里的问题是所有的组件都需要去写这一个说明性的代码,是否可以在Form组件上增加provide 表单组件中同一添加inject 这个实现__mode的传递呢?

    • provide/inject只会在vue实例初始化的时候才会去初始化,所以可能只能是Form组件加provide/子组件加inject;但是这个方案比较挫
  • 对于Size这个属性来说,是不是只要配置在form上面就可以,然后每个子表单组件的size全部一致,这也减少了配置工作量,因为视觉规范就是自组件的大小应该保持一致

  • 针对options这个配置,目前组件内部通过names/values合并成options这种方案,这种方案针对于服务端直接返回数据时会涉及到数据拆分的问题,后续需要优化,易搭是采用直接数据copy的方式

  • form是需要配置项的

  • form需要重新以数据维度来设计, 针对业务场景来思考