Skip to content

sishen654/mazp-create-tpl

Repository files navigation

create-tpl

English | 简体中文

✨ Introduce

Quick creation tools, application templates such as Vue/React scaffolding tools, including out-of-the-box Vitest test environment, and configured TS and Vite environments

You can also use this tool to quickly create development npm library or backend project templates, with built-in rollup and gulp configuration files, all of which can be developed and packaged using TS

📦 Install

npm i -g @mazp/create-tpl
cnpm i -g @mazp/create-tpl
yarn add -g @mazp/create-tpl
pnpm add -g @mazp/create-tpl

🔨 Usage

create project

# create in the local folder
cra .
# create a new folder
cra <project-name>

vue3-demo

Snipaste_2023-08-14_14-34-12

create lib

lib-demo

Snipaste_2023-08-14_14-37-15

install plugin

Currently only supports Vue/React framework, plugin only supports eslint

❗: Less used so don't consider adding more extensions

# include your chosen framework, install relative plugin
cra i eslint