Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 1,000,000+ packages pre-installed, including hjm-web-staging with all npm packages installed. Try it out:

hjm-web-staging lists no main file and has no index.js, so it can't be directly required. If this is a mistake, please let us know. It may however contain internal files that you can require manually:

// require("hjm-web-staging/[??]")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

hjm-web-staging v1.0.1

hjm web staging

快速搭建项目我的vue项目(脚手架)

###项目架构

.
├── utils.js             // 公共方法封装
├── bin                  // 脚手架的入口文件
│   └── hjm
├── commands             // 命令源码
│   ├── new.js           // 新建项目方法
│   ├── delete.js        // 删除项目方法
│   └── list.js          // 显示项目列表
├── config             
│   ├── config.json      // 项目配置文件
│   └── typeConfig.json  // 项目类型配置文件
├── node_modules
├── README.md            // 说明文件  
├── package.json     
.

使用

  1. hjm new 添加项目
  2. hjm delete 删除项目
  3. hjm list 显示项目列表

项目说明

  1. 此脚手架重在方便下载https://github.com/hjm100/webStaging.git项目文件
  2. 此项目有两中形式:单页面,与多页面,都是基于vue开发
  3. 选择类型时候要注意:single:单页面应用|**|multiple:多页面应用

bug说明

  1. 最好使用cmd命令行操作
  2. 新建一个文件 在文件夹中打开cmd命令行执行上述命令即可
RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free