8000 GitHub - eleven-net-cn/create-app: Efficient Modern Scaffolding
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

eleven-net-cn/create-app

Repository files navigation

create-app

Efficient Modern Scaffolding

Ask DeepWiki

English | 简体中文

Features

  • ⚡ Local hot-reload template debugging
  • 🎨 Free combination of modules within templates
  • ♻️ Templates can call each other
  • 🚀 Assemble templates in memory and write to disk at once

Usage

npm create @e.fe/app@latest

# OR

npx @e.fe/create-app@latest

Usage

More

# From Repo
npm create @e.fe/app@latest from-repo <url>

# From Template
npm create @e.fe/app@latest -T <template>

Why

Popular scaffolding tools have various issues, with the most important ones being:

  1. Most cannot hot-reload debug templates, making template testing time-consuming

  2. Some don't allow free combination of templates, only creating from fixed templates or downloading from repositories, making it difficult to maintain when we have multiple templates

At work, I needed to develop a better scaffolding tool for the team, which was the initial motivation for writing this code.

I often need to quickly create various types of projects, so I developed this project with the following goals:

  • Maintain commonly used project templates and workflows

  • Converge standard code specifications with @e.fe/template-standard

  • Support direct calls to excellent community scaffolding tools like React, Vue, etc.

    Maintaining our own work templates is the basic goal, but excellent community tools are also in our arsenal

  • Support creating new projects from any project repository

    Inherited from tiged, with additional features

    # Create a new project from the repository (<url>)
    npm create @e.fe/app@latest from-repo <url>
  • create-app has capabilities similar to yeoman

    template-xxx is equivalent to yeoman generator, they both rely on capabilities provided by the upper layer

    Templates can be created and published independently, maintained in separate repositories

    # Create my-app from the generator
    yo <generator> my-app
    
    # They work in a similar way
    
    # Create my-app from external template
    npm create @e.fe/app@latest -T <template>

About

Efficient Modern Scaffolding

Resources

Stars

Watchers

Forks

0