Comparing version 4.0.3 to 4.1.0
{ | ||
"name": "omi-cli", | ||
"version": "4.0.3", | ||
"version": "4.1.0", | ||
"description": "Create website, app base on omi with no build configuration.", | ||
@@ -5,0 +5,0 @@ "main": "bin/omi", |
@@ -5,13 +5,6 @@ ## omi-cli | ||
```bash | ||
$ npx omi-cli init my-app | ||
$ cd my-app | ||
$ npm start # develop | ||
$ npm run build # release | ||
``` | ||
To quickly create an Omi + Vite + TS/JS project: | ||
### New Project base on TypeScript + Tailwindcss | ||
```bash | ||
$ npx omi-cli init-tw my-app | ||
$ npx omi-cli init my-app # or create js project by: npx omi-cli init-js my-app | ||
$ cd my-app | ||
@@ -22,7 +15,6 @@ $ npm start # develop | ||
### New Project base on TypeScript + Tailwindcss + Router + Suspense + Vite project | ||
### New Project base on JavaScript | ||
```bash | ||
$ npx omi-cli init-js my-app | ||
$ npx omi-cli init-spa my-app | ||
$ cd my-app | ||
@@ -33,3 +25,2 @@ $ npm start # develop | ||
<!-- | ||
@@ -36,0 +27,0 @@ ### New Component by Omi |
@@ -1,2 +0,2 @@ | ||
import { css } from 'omi' | ||
import { css, globalCSS } from 'omi' | ||
@@ -8,1 +8,3 @@ import tailwindStyle from './tailwind.css?inline' | ||
` | ||
globalCSS(tailwind) |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
69195
1844
42