โก๏ธ Create a project in seconds!
https://github.com/lencx/create-mpl.git
Create a project in seconds!
With NPM:
npm init mpl@latest
With Yarn:
yarn create mpl
With PNPM:
pnpm create mpl
Then follow the prompts!
web - Web Appremix - Remixvite - Vitecra - Reactumi - UmiJSvue - Vuejssvelte - Svelteangular - Angulartauri - Tauriwasm - WebAssemblymini - Mini Programtaro - Tarouni - uni-appelectron - Electronelectron-quick-start - Electron Quick Startelectron-quick-start-typescript - Electron Quick Start (TypeScript)extension - Extensionvscode - Visual Studio Codechrome - Chromegithub - GitHub Template (Custom)project name and the app type you want to use via additional command line options.
# --type, -t: web | wasm | mini | electron | extension | chrome | github
# npm 6.x
npm init mpl@latest my-app --type web
# npm 7+, extra double-dash is needed:
npm init mpl@latest my-app -- --type web
# yarn
yarn create mpl my-app --type web
# pnpm
pnpm create mpl my-app -- --type web
Check out awesome/mpl - you can also submit a PR to list your template there.
> npm init mpl@latest my-app --type github
โก๏ธ v0.1.x
โ github owner: โฆ <owner>
โ github repo: โฆ <repo>
โ repo branch: โฆ <branch>
โ sub dir: โฆ <sub_dir> # '/' - root path
[dgh::download] <owner>/<repo>:<branch>/<sub_dir> /<your_path>/my-app
$ cd my-app
mpl FAQ - Encountered an unknown error, please try again after clearing the cache.
rm -rf $(npm get cache)/_npx/*