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

wwvue-cli

v1.2.4

Published

A scaffolding based on vue-cli

Downloads

15

Readme

About

集成了sassaxiosvuex等vue项目必要依赖,同时完善了这些插件的使用配置,对vuex进行了模块化管理,集成了部分常用的方法,包含自定义指令的运用场景参考、全局混入的运用场景参考、接口封装等实际项目的标准化模块。

Function List

  • 静态资源存放位置统一管理
  • 公共样式管理、字体库、第三方脚本统一管理
  • 开箱即用的sass
  • router统一管理
  • vuex模块化管理 store
  • 接口统一管理 urlconfig
  • 公共指令基础配置 directive
  • 全局混入基础配置 mixins
  • 自定义组件导出和引入a
  • 命令行打包压缩
  • 命令行生成项目目录树
  • 命令行一步push本地仓库
  • 自动获取局域网ip,打开局域网server
  • 等待挖掘...

Install

npm i wwvue-cli -g

Usage

wwvue init project-name

Command line deployment

运用命令行完成每次版本的更新,将本地更新推送至远程仓库.

npm run push init

Command line packaging

运用命令行完成每次需要交付的项目压缩文件.

npm run pack

Generate directory tree

运用命令行生成项目目录树

Creating custom components

创建一个由模板生成的自定义组件的目录及文件结构.

npm run ccc ALert

Creating directory tree

生成用于分享交流或其他用途的项目目录树

npm run tree //命令行查看
npm run tree >>tree.txt //生成文件

Analog interface data

本地模拟数据接口
此功能算不上刚需,如不需要可在初始化完毕后删除mock目录,如有模拟数据的需要,可采取mock的方案,此方案可以避免mock插件的某些坑,当然任何方案都不可能是完美的,可按需选择。
因为可能不算刚需,故采取将此功能做独立配置,不与主项目依赖产生交集,需在mock目录下单独安装依赖,安装完依赖后,运行命令:

npm run serve

版本更新记录