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 🙏

© 2025 – Pkg Stats / Ryan Hefner

lz-front-template-cli

v1.0.0

Published

A CLI tool for scaffolding Vue3 projects

Readme

目录结构

简介

  • 项目名称 front-template-project
  • 项目描述 本项目是一个web端前端模板项目,web端的业务项目均可用该模板项目作为初始化模板。本项目使用了 vue3vite5typescriptpinia等主流技术开发。 项目具有Admin端、H5端(暂无)、Front端(暂无)三种模板。
  • 前端工程化文档

准备

  • node: >= 20
  • ide工具: vscode / webstorm
  • git: git
  • nvm: nvm
  • pnpm: pnpm
  • 云效: 云效账号

| 类目 | 地址 | 作用 | | -------------------- | ------------- | ------------- | | node | 下载地址 | 安装环境 | | git | 下载地址 | 代码协作 | | nvm | 下载地址 | 管理node版本 还需额外配置 | | pnpm | 下载地址 | 依赖包管理工具 | | vscode | 下载地址 | 代码工具 | | 云效 | 访问地址 | 代码仓库 | | vue3 | 文档地址 | 前端框架 | | vite5 | 文档地址 | 打包构建工具 | | pinia | 文档地址 | 状态管理工具 | | typescript | 文档地址 | js的超集 | | es6 | 文档地址 | 新语法 | | whistle | 文档地址 | 代理工具 | | element-plus | 文档地址 | UI组件库 |

安装使用

  • 使用脚手架安装
npm i lz-front-template-cli
  • 命令行安装项目
lz-front-template-cli my-vue3-project
  • 安装依赖 & 启动项目
cd my-vue3-project
pnpm i

Git 贡献提交规范

  • 参考 vue 规范 (Angular)

    • feat 增加新功能
    • fix 修复问题/BUG
    • style 代码风格相关无影响运行结果的
    • perf 优化/性能提升
    • refactor 重构
    • revert 撤销修改
    • test 测试相关
    • docs 文档/注释
    • chore 依赖更新/脚手架配置修改等
    • ci 持续集成
    • types 类型定义文件更改
    • wip 开发中

浏览器支持

本地开发推荐使用Chrome 80+ 浏览器

支持现代浏览器, 不支持 IE

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

分支说明

  • master:最新稳定的通用版分支,所有分支的基础
  • develop:通用分支,所有分支的基础
  • h5:h5分支,merge from master, 额外包含h5特性(暂无)
  • front:front分支,merge from master, 额外包含front特性(暂无)
  • admin:admin分支,merge from front, 额外包含front管理端特性

主要项目结构

├──.husky # git钩子管理工具 ├──.vscode # 项目vscode配置 ├── src/ # 源代码目录 │ ├── api/ # api请求目录 │ ├── assets/ # 静态资源(图片、字体、样式等) │ ├── components/ # 复用的 Vue 组件 │ ├── composables/ # hooks函数 │ ├── icons/ # svg文件夹 │ ├── layout/ # 布局流 │ ├── router/ # 路由配置 │ ├── stores/ # Pinia 状态管理 │ ├── theme/ # 换肤scss │ ├── utils/ # 工具函数 │ ├── views/ # 页面级组件 │ ├── main.ts # 入口文件 │ ├── permission.ts # 权限判断 │ └── App.vue # 根组件 ├── public/ # 公共文件 (不会被打包的静态资源) ├── types/ # 定义ts类型 ├── .env # 环境变量配置文件 ├── package.json # 项目依赖及脚本 ├── README.md # 项目说明文档 └── vite.config.ts # Vite 配置文件