GithubHelp home page GithubHelp logo

beckzayi / create-mpl Goto Github PK

View Code? Open in Web Editor NEW

This project forked from lencx/create-mpl

0.0 0.0 0.0 48 KB

⚡️ Create a project in seconds!

License: MIT License

JavaScript 0.21% TypeScript 99.79%

create-mpl's Introduction

create-mpl

Create a project in seconds!

asciicast

Usage

With NPM:

npm init mpl@latest

With Yarn:

yarn create mpl

With PNPM:

pnpm create mpl

Then follow the prompts!

Application Types

  • web - Web App
    • remix - Remix
    • vite - Vite
    • cra - React
    • umi - UmiJS
    • vue - Vuejs
    • svelte - Svelte
    • angular - Angular
  • tauri - Tauri
  • wasm - WebAssembly
  • mini - Mini Program
    • taro - Taro
    • uni - uni-app
  • electron - Electron
    • electron-quick-start - Electron Quick Start
    • electron-quick-start-typescript - Electron Quick Start (TypeScript)
  • extension - Extension
    • vscode - Visual Studio Code
    • chrome - Chrome
  • github - GitHub Template (Custom)
  • ... - (TODO)

You can also directly specify the 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

Community Template

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

FAQ

mpl FAQ - Encountered an unknown error, please try again after clearing the cache.

rm -rf $(npm get cache)/_npx/*

Related

create-mpl's People

Contributors

lencx avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.