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

vd-cli

v2.3.11

Published

A simple CLI for scaffolding view design projects, we provide view design template to quickly build small and medium sized app.

Downloads

22

Readme

vd-cli

vd-cli 是 配合 ViewDesign 框架使用的命令行工具

命令行使用

1、安装

npm i vd-cli -g

or

yarn global add vd-cli

如果出现permission denied等相关权限的错误提示,请使用管理员身份或root身份运行,如 mac:sudo npm i vd-cli -g

2、更新

npm update vd-cli -g

3、使用

3-1、创建应用

vd create [projectName]
  • projectName: 工程名称(选题,默认:vd-demo

3-2、项目主框架升级至最新版本

vd update

3-3、调试开发

vd dev

3-4、编译构造

vd build

3-5、创建vue页面示例模板

vd vue [pageName]
  • pageName: 页面名称

3-6、安装插件

vd plugin [command] [pluginName]
  • command: 命令(安装:install,卸载:uninstall,修复:repair,创建:create,发布:publish
  • pluginName: 插件名称(插件列表可以查看https://vd.io/markets/
  • command为repair时pluginName可留空。
//安装插件示例:
vd plugin install pay

//卸载插件示例:
vd plugin uninstall pay

//修复插件示例:
vd plugin repair

//创建插件示例:
vd plugin create pluginDemo

//发布插件示例:
vd plugin publish pluginDemo

3-7、App设置(应用名称、版本等)

vd setting

3-8、设置App模板(初始化演示模板)

vd setdemo

3-9、一键云修复文件(热更新)

vd repair

3-10、一键设置应用图标

vd icons [id]

3-11、一键设置应用启动图

vd launchimage [id]

3-12、登录云中心

vd login

3-13、登出云中心

vd logout

3-14、备份项目开发文件

vd backup

3-15、恢复项目开发文件

vd recovery

4、版本及帮助

vd -v    // 查看当前cli版本
vd -h    // 命令帮助信息