@originjs/cli
v1.1.3
Published
<p align="center"><img align="center" style="width:240px" src="./oriTemplate/src/assets/originjs.png"/></p><br/>
Downloads
19
Keywords
Readme
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 :
- A Vue framework built with Vue 3 & Vite2
- Vue i18n intergrated
- Pinia or Vuex for Vue store
- Jest or Vitest for Vue component testing
- File based routing and layouts
- Markdown support
- Global css/sass/less/stylus support
- Open yaml/xml/xlsx/... as a ES module
- Auto-imported Vue components
- Host or remote project for module federation
- Webpack to vite conversion tool
- A migration tool from Vue 2 to Vue 3
- TypeScript 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