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

fow-cli

v0.1.6-beta

Published

Quickly generate vue projects, including PC and mobile.

Downloads

15

Readme

fow-cli 基于 Vue-cli 封装的自用工具

fow-cli

相比于vue-cli, fow-cli 做了如下改动:

  1. 默认添加三种创建项目模板 app, demo, 和 custom(自定义模板)
  2. demo 模板-->pc 项目常用插件配置和组件(element-ui + 自定义封装组件)
  3. app 模板-->移动端项目常用插件配置和组件(vant + 自定义封装组件)
  4. custom 模板-->可选择不同端(不包含 自定义封装组件)

Getting Started

Install, create and start.

# Install
$ npm install fow-cli -g

# Create app
$ fow new myapp --demo

# Start app
$ cd myapp
$ npm install
$ npm start

Commands

We have 3 commands: new, init and create

fow new [options]

Create app with new directory.

Usage Examples

$ fow new myapp
$ fow new myapp --demo
$ fow new myapp --app

options

  • --demo -- 创建 PC 端项目
  • --app -- 创建 移动 端项目

fow init [options]

Create app in current directory. It's options is the same as fow new.

$ fow init --demo
$ fow init --app

options

  • --demo -- 创建 PC 端项目
  • --app -- 创建建移动端项目

fow create

自由选择配置项(不包含自定义组件),自动安装项目依赖,不需要 npm install

$ fow create

Usage Examples

fow create myapp

打包

# 普通打包
$ npm run build

方式 1:

  • git clone [email protected]:fooww-web/big-web/fooww-vue-cli.git
  • fooww-vue-cli 同级目录下执行vue create --preset .\fooww-vue-cli <project-name>

方式 2:

  • 直接使用命令vue create --preset 192.168.1.9:fooww-web/big-web/fooww-vue-cli --clone <project-name>