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

upload-comp-vue3

v1.2.2

Published

* 项目只包含框架的搭建,功能的完整封装,不包含任何业务组件。开箱即用。 * 最新版的组合式api + 新版路由 + 新版store的使用 * 采用的是前端保存路由菜单,根据后台返回的角色信息,动态加载路由和菜单渲染 * webpack-dll分离第三方库 * element-plus的全局自定义主题封装 * 如何优雅的全局封装处理svg图标组件 * 全局的自定义指令封装例子(vue3已删除过滤器) * 全局axios请求响应拦截封装 * 考虑到日常开发处理时间格式化较为常

Downloads

58

Readme

项目说明

  • 项目只包含框架的搭建,功能的完整封装,不包含任何业务组件。开箱即用。
  • 最新版的组合式api + 新版路由 + 新版store的使用
  • 采用的是前端保存路由菜单,根据后台返回的角色信息,动态加载路由和菜单渲染
  • webpack-dll分离第三方库
  • element-plus的全局自定义主题封装
  • 如何优雅的全局封装处理svg图标组件
  • 全局的自定义指令封装例子(vue3已删除过滤器)
  • 全局axios请求响应拦截封装
  • 考虑到日常开发处理时间格式化较为常见,使用dayJs封装了大量时间操作函数。(momentjs已停止维护)

账号密码

  • 采用淘宝的rap接口mock模式,只需要随便输入就行,只进行了非空校验

TODO:

  • 因为是将路由和路由懒加载组件存放在vuex中的,所以使用了markRaw对组件进行了标记,防止进行Proxy代理
  • 但是目前处理方式未统一处理,后续优化