Create website, app base on omi with no build configuration.


Keywords
omi, cli, omi-cli
License
MIT
Install
npm install omi-cli@4.2.1

Documentation

omi-cli

New Project base on TypeScript

To quickly create an Omi + Vite + TS/JS project:

$ npx omi-cli init my-app    # or create js project by: npx omi-cli init-js my-app
$ cd my-app           
$ npm start           # develop
$ npm run build       # release

New Project base on TypeScript + Tailwindcss + Router + Suspense + Vite project

$ npx omi-cli init-spa my-app  
$ cd my-app           
$ npm start           # develop
$ npm run build       # release

Update to the latest version

$ npm i omi-cli -g 

License

This content is released under the MIT License.