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

ray-template

v5.0.5

Published

<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->

Downloads

9,666

Readme

Ray Template

简体中文 | English

一个 完全免费高效特性完整 并且基于 vite5.x & ts(x) & pinia & vue3.x 等最新技术的中后台模板。

🌻 简介

Ray Template采用前沿前端技术,摒弃繁杂与臃肿,采用模块化设计,解耦数据、方法和视图,专注业务开发。提供丰富配置和丰富的模板 Hooks,支持个性化定制,满足你的项目需求。

✨ 特性

  • 全新技术栈:使用 ts(x), vite5.x, vue3.x, pinia 等前端前沿技术开发
  • 主题:可配置的主题
  • 国际化:内置完善的国际化方案
  • 权限:内置完善的动态路由权限生成方案
  • 组件:二次封装了多个常用的组件
  • 工具包:常用的工具函数封装
  • 缓存:任意深度页面缓存
  • 模块化设计:解耦管理的数据、方法、视图,放心二次开发
  • 配置化:支持丰富的配置项
  • 代码风格:内置 prettier, eslint 等代码风格工具
  • 多端适配:支持 pc, phone, pad
  • 文档:完善的文档
  • Mock 数据:内置 Mock 数据方案
  • Axios 请求:采用插件式设计二次封装 axios 库拦截器,让拦截器更加灵活
  • SVG:内置 svg icon 解决方案
  • Hooks:基于模板特性封装的 hooks 让你更加方便的使用模板一些功能
  • TypeScript:提供完整的类型
  • Vitest:内置 vitest 测试方案

👀 预览地址

📌 文档地址

🔋 更新日志

🪴 准备

📦 起步

获取项目

# github
git clone https://github.com/XiaoDaiGua-Ray/ray-template.git

拉取依赖

pnpm i

测试项目


pnpm test

启动项目

pnpm dev

项目打包

pnpm build

预览项目

pnpm preview

体积分析

pnpm report

快速开发

只需要删除 views/demo, router/modules/demo 下的文件即可得到一个干净的项目模板。

🪴 项目活动

Alt

贡献者

感谢他们的所做的一切贡献 🐝 !

浏览器支持

| IE | Edge | Firefox | Chrome | Safari | | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | | not support | last 2 versions | last 2 versions | last 2 versions | last 2 versions |

📄 证书

MIT License © 2022-PRESENT Ray