Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/asasugar/asasugar-cli
🚀 快速生成项目cli工具,模版:多页应用模版、Vue SPA模版(Vue3 Vue2)、React SPA模版(v16.8)、npm插件开发模版
https://github.com/asasugar/asasugar-cli
cli npm
Last synced: 1 day ago
JSON representation
🚀 快速生成项目cli工具,模版:多页应用模版、Vue SPA模版(Vue3 Vue2)、React SPA模版(v16.8)、npm插件开发模版
- Host: GitHub
- URL: https://github.com/asasugar/asasugar-cli
- Owner: asasugar
- Created: 2018-08-22T03:58:12.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2022-02-14T01:55:35.000Z (almost 3 years ago)
- Last Synced: 2024-09-13T23:21:18.065Z (2 months ago)
- Topics: cli, npm
- Language: JavaScript
- Homepage:
- Size: 71.3 KB
- Stars: 6
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# asasugar-cli
> 多页应用模板 cli 工具(目前支持生成 html 跟 pug 两种方式)
> 单页应用模板支持 Vue 模板、React 模板
> npm插件开发模块支持pnpm管理package
## Start```bash
# 全局安装cli
pnpm add asasugar-cli -g # use pnpm
npm i asasugar-cli -g # use npm
yarn add asasugar-cli global # use yarn# 查看版本
asasugar-cli -V# 创建项目
asasugar-cli init
```## How to Use [Pnpm](https://github.com/pnpm/pnpm)
```bash
# 全局安装
npm i pnpm -g
```## How to Use Yarn
```bash
# 全局安装
npm i yarn -g# 设置镜像源
yarn config set registry https://registry.npm.taobao.org --global
yarn config set disturl https://npm.taobao.org/dist --global
```