1 Star 0 Fork 0

ereddate / mfo

Create your Gitee Account
Explore and code with more than 12 million developers,Free private repositories !:)
Sign up
Clone or Download
contribute
Sync branch
Cancel
Notice: Creating folder will generate an empty file .keep, because not support in Git
Loading...
README
ISC

MFO

MFO is the scaffold for rapid construction of the project. It provides a Webpack (micro front-end qiankun suite is optional) or Vite based development environment for Vue2, Vue3, React, React-native(Beta), Angular(Beta), Uniapp and Taro frameworks, and provides PWA configuration and more templates and component support.

node.js engines: ">= 16.0.0"

Installation

npm i -g mfo

or

npm i -g mfo --registry https://registry.npmjs.org/

Usage

Usage: mfo <command> [options]

Options:
  -V, --version                   output the version number
  -r, --registry <url>            registration source
  -f, --force                     force overwrite of existing directory (if any)
  -d, --debug                     program debugging, internal prompt
  -c, --config <profile>          use custom template profile
  -l, --language <language-name>  use language type
  -p, --langpack <url>            use custom language pack
  -n, --ignore <url>              use the ignore step list
  -h, --help                      output usage information

Commands:
  create <project-name>           create a new project
  create-pc <project-name>        create a new PC project
  create-mobile <project-name>    create a new mobile project
  create-uniapp <project-name>    create a new uniapp project
  create-taro <project-name>      create a new taro project
  create-noui <project-name>      create a new no ui project
  init <project-name>             initialize the package.json file
  register <source-url>           register global source
  upgrade [options] <pkg-name>    upgrade the latest version of the npm dependency package
    Options:
        -u, --update <version>  upgrade to a specific version
  pwa [options] <project-name>    configure pwa
    Options:
        -t, --to <dir-name>  configure to the specified directory
  info                            print debugging information about your environment
  help [cmd]                      display help for [cmd]

Release Notes

Latest version: npm version

Example

Manually set and optional vue2, vue3 build

mfo create <project name>

or

mfo create <project name> -r https://registry.npmjs.org/

Automatically set up and build the specified environment

mfo create-pc <project name>

or

mfo create-mobile <project name>

or

mfo create-noui <project name>

or

mfo create-uniapp <project name>

or

mfo create-taro <project name>

Basic environment

Vue2
    Vue2 + Javascript + Webpack
    Vue2 + Javascript + Vite
    Vue2 + Typescript + Webpack
    Vue2 + Typescript + Vite

Vue3
    Vue3 + Javascript + Webpack
    Vue3 + Javascript + Vite
    Vue3 + Typescript + Webpack
    Vue3 + Typescript + Vite

React
    React + Javascript + Webpack
    React + Javascript + Vite
    React + Typescript + Webpack
    React + Typescript + Vite

Uniapp
    Vue2
        Vue2 + Javascript + Webpack
        Vue2 + Typescript + Webpack
    Vue3
        Vue3 + Javascript + Webpack
        Vue3 + Javascript + Vite
        Vue3 + Typescript + Webpack
        Vue3 + Typescript + Vite

Taro
    Vue2
        Vue2 + Javascript + Webpack
        Vue2 + Typescript + Webpack
    Vue3
        Vue3 + Javascript + Webpack
        Vue3 + Typescript + Webpack
    React
        React + Javascript + Webpack
        React + Typescript + Webpack

React-native
    React + Javascript + Webpack
    React + Typescript + Webpack

Angular + Typescript
ISC License Copyright (c) 2022, ereddate Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

About

mfo, 前端构建项目脚手架 expand collapse
JavaScript
ISC
Cancel

Releases

No release

Contributors

All

Activities

Load More
can not load any more
JavaScript
1
https://gitee.com/ereddate2017/mfo.git
git@gitee.com:ereddate2017/mfo.git
ereddate2017
mfo
mfo
master

Search

53164aa7 5694891 3bd8fe86 5694891