JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1
  • Score
    100M100P100Q36757F
  • License MIT

A Front-end Project Structure Generator For Vue,React,node-express,node-koa

Package Exports

  • dai-cli

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (dai-cli) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

dai-cli

Build Status NPM Version NPM Downloads

“呆!”。灵感来源于猴子。平时开始时,一旦项目比较多,每一次都要重新使用vue-cli生成全新项目,然后修改其结构。dai 正是用于快速生成企业级完整,规范,优化后的项目结构。可用项目模板有 template-pc-elementui, template-mobile-vant, template-pc-nuxt, template-react, template-node-express, template-node-koa, template-python-django, template-python-crawler

Quick Start (开始使用)

  // Install (安装)
  $ npm install -g dai-cli
  // View available templates (查看可用模板)
  $ dai ls
  // Download (下载)
  $ dai init template-mobile-vant

Option parsing (可用参数)

// Help(帮助)
$ dai --help
===========================================
  Usage: dai [options]

  An application for pizzas ordering

  Options:

    -i, --help           output usage information
    -v, --version        output the version number
    -ls, --list          output List of available templates
===========================================

// View available templates (查看可用的模板)
$ dai list
===========================================
    template-pc-elementui
    template-mobile-vant
    node-express
===========================================

License

MIT