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 🙏

© 2026 – Pkg Stats / Ryan Hefner

sweet-base

v0.1.21

Published

flag.code 删除

Readme

sweet-base

Project setup

npm install

Compiles and hot-reloads for development

npm run serve

Compiles and minifies for production

npm run build

Lints and fixes files

npm run lint

Customize configuration

See Configuration Reference.

提交日志规范

fix: 修改bug feat: 新增功能 test: 调试功能 style: 变更代码风格、添加注释 dbcs: 变更文档 refactor:重构功能或方法

例如

feat(demo开发):提供增删改查功能 --增加列表

全局文件加载

--mode production //生产环境配置 --mode text //测试环境配置 --mode development // 开发环境配置

版本更新日志

0.1.19 2021-06-28 17:23

  1. feat lodash 库
  2. feat 新增选择组织和部门弹出框。
  3. feat 表单自动格式化数据

0.1.18 2021-06-17 13:33

  1. style 选择部门改用页面生成组件。
  2. feat 页面生成表单新增单选、多选、禁用、下拉多选。

0.1.17 2021-06-10 14:38

  1. feat 动态表单新增选择回调
  2. refactor packages只放组件和组件js调用方法,公共方法放到util目录下面。

0.1.16 2021-06-09 10:11

  1. fix 修复其他页面不能打开
  2. feat 多页面的 template 使用sweet的template

0.1.15 2021-05-08 14:20

  1. style vue代码分割三次可以合并
  2. feat 增加时间转换

0.1.14 2021-05-06 14:20

  1. style vue配置文件变更
  2. style js代码分割多个

0.1.13 2021-05-06 15:20

  1. style 拷贝资源
  2. style vue-cli配置打包路径
  3. style vue-cli配置css
  4. style vue-cli配置平台页面

0.1.12 2021-04-29 15:40

  1. feat 动态属性

0.1.11 2021-04-28 15:15

  1. style 变更接口地址

变更接口地址

0.1.10 2021-04-28 9:10

  1. feat 表单选择组件 使用文档参考doc/components/formSelect.md
  2. feat 部门选择组件 使用文档参考doc/components/deptModal.md

0.1.9 2021-04-22 13:18

  1. ant拆分,css 切片加载。具体步骤请参考doc/version/1.0.9

0.1.8 2021-04-20 9:03

  1. feat 新增配置文件
  2. feat util.ajax 增加headers
  3. feat 新增 util.uuid 方法

0.1.7 修复@/指向路径报错,修改表格获取数据 2021-04-15T08:06:46.131Z

0.1.6 新增portlet组件 2021-04-14T10:04:39.470Z

0.1.5 表格样式调整 2021-04-13T08:19:22.223Z

0.1.4 更改登录地址 2021-04-08T03:56:18.582Z

0.1.3 重新打包 2021-04-08T01:37:23.245Z

0.1.2 提供导出功能 2021-04-01T09:19:09.507Z

0.1.1 提供demo,样式调整为less 2021-03-19T09:48:17.398Z