|
@@ -4,6 +4,12 @@
|
|
|
|
|
|
|
|
A CLI for creating new [STDF](https://stdf.design) projects. Just run...
|
|
A CLI for creating new [STDF](https://stdf.design) projects. Just run...
|
|
|
|
|
|
|
|
|
|
+With BUN:
|
|
|
|
|
+
|
|
|
|
|
+```bash
|
|
|
|
|
+bun create stdf
|
|
|
|
|
+```
|
|
|
|
|
+
|
|
|
With PNPM:
|
|
With PNPM:
|
|
|
|
|
|
|
|
```bash
|
|
```bash
|
|
@@ -25,6 +31,9 @@ npx create-stdf@latest
|
|
|
You can also directly specify the project name and the template you want to use via additional command line options. For example, to create a new project named `my-app` using the **Vite + Svelte + Tailwind + STDF** template, run:
|
|
You can also directly specify the project name and the template you want to use via additional command line options. For example, to create a new project named `my-app` using the **Vite + Svelte + Tailwind + STDF** template, run:
|
|
|
|
|
|
|
|
```bash
|
|
```bash
|
|
|
|
|
+# bun
|
|
|
|
|
+bun create stdf my-app
|
|
|
|
|
+
|
|
|
# pnpm
|
|
# pnpm
|
|
|
pnpm create stdf my-app
|
|
pnpm create stdf my-app
|
|
|
|
|
|
|
@@ -35,6 +44,11 @@ npm create stdf@latest my-app
|
|
|
If you want to use the **Vite + UnoCSS + Svelte + STDF** template, run:
|
|
If you want to use the **Vite + UnoCSS + Svelte + STDF** template, run:
|
|
|
|
|
|
|
|
```bash
|
|
```bash
|
|
|
|
|
+# bun
|
|
|
|
|
+bun create stdf my-app -template vu
|
|
|
|
|
+# or
|
|
|
|
|
+bun create stdf my-app -t vu
|
|
|
|
|
+
|
|
|
# pnpm
|
|
# pnpm
|
|
|
pnpm create stdf my-app --template vu
|
|
pnpm create stdf my-app --template vu
|
|
|
# or
|
|
# or
|
|
@@ -85,7 +99,7 @@ Template presets include:
|
|
|
For example:
|
|
For example:
|
|
|
|
|
|
|
|
```bash
|
|
```bash
|
|
|
-pnpm create stdf my-app -l zh_CN
|
|
|
|
|
|
|
+bun create stdf my-app -l zh_CN
|
|
|
```
|
|
```
|
|
|
|
|
|
|
|
# License
|
|
# License
|