1.1.3 • Published 3 years ago

@originjs/cli v1.1.3

Weekly downloads
-
License
MulanPSL-2.0
Repository
-
Last release
3 years ago

Origin.js

CLI for origin.js.

Installation

npm install -g @originjs/cli

or

yarn global add @originjs/cli

Features

init

Create a Vue3 & Vite project that support :

setup

Constuct project for development and production.

Supported by @originjs/cli-service

tovite

Convert a webpack/vue-cli project to a vite project.

Supported by @originjs/webpack-to-vite.

tovue3

Upgrade a Vue 2 project to Vue 3.

Supported by @originjs/vue-codemod.

Usage

Usage: ori <command> [options]

Options:
  -v, --version              display version number
  -h, --help                 display help for command

Commands:
  init [options] <app-name>  init a new project
  dev [options]              alias of "ori dev" in the current project
  build                      alias of "ori build" in the current project
  tovite [options]           use vite in the current project
  tovue3 [options]           use vue-next in the current project
  help [command]             display help for command