Skip to content

Commit 67e0ba6

Browse files
authored
Revise create-tauri-app usage (tauri-apps#681)
1 parent 322e8f7 commit 67e0ba6

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

docs/guides/getting-started/setup/_intro.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ In the following, we will first scaffold the Frontend, then set up the Rust proj
1313
The easiest way to scaffold a new project is the [`create-tauri-app`](https://github.com/tauri-apps/create-tauri-app) utility. It will ask you a series of questions and quickly bootstrap a Tauri project for you to begin developing with. It has support for vanilla HTML/CSS/JavaScript but also many frontend frameworks like React, Vue, or Svelte.
1414

1515
<Tabs groupId="package-manager">
16-
<TabItem value="npx" label="npx" default>
16+
<TabItem value="npm" label="npm" default>
1717

1818
```shell
19-
npx create-tauri-app
19+
npm create tauri-app
2020
```
2121

2222
</TabItem>
@@ -39,4 +39,4 @@ pnpm create tauri-app
3939

4040
[cargo]: https://doc.rust-lang.org/cargo/
4141
[prerequisites]: ../prerequisites.md
42-
[tauri-cli]: ../tauri-cli.md
42+
[tauri-cli]: ../tauri-cli.md

src/theme/Command.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,17 +24,14 @@ export const CreateTauriApp = () => {
2424
<Tabs>
2525
<TabItem value="npm">
2626
<CodeBlock className={`language-shell`}>
27-
npm x create-tauri-app
27+
npm create tauri-app
2828
</CodeBlock>
2929
</TabItem>
3030
<TabItem value="yarn">
3131
<CodeBlock className={`language-shell`}>
3232
yarn create tauri-app
3333
</CodeBlock>
3434
</TabItem>
35-
<TabItem value="npx">
36-
<CodeBlock className={`language-shell`}>npx create-tauri-app</CodeBlock>
37-
</TabItem>
3835
<TabItem value="pnpm">
3936
<CodeBlock className={`language-shell`}>
4037
pnpm create tauri-app

0 commit comments

Comments
 (0)