1 Star 0 Fork 0

ereddate / mfo

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
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.

简介

mfo, 前端构建项目脚手架 展开 收起
JavaScript
ISC
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
JavaScript
1
https://gitee.com/ereddate2017/mfo.git
git@gitee.com:ereddate2017/mfo.git
ereddate2017
mfo
mfo
master

搜索帮助