---
title: "Tauri"
locale: "en"
version: "current"
canonicalUrl: "https://farmfe.org/docs/frameworks/tauri"
publicationStatus: "prerelease"
---

<a id="tauri"></a>
# Tauri


Create a ` Tauri ` project based on ` Farm `.


` Farm ` provides two approaches to support creating ` Tauri ` projects:


- Use the ` create-farm ` scaffold to create a scaffold project
- You can manually create a ` Tauri ` project following the current documentation


<a id="creating-a-tauri-project"></a>
### Creating a Tauri Project


**npm**

```sh
npm create farm@latest
```

**pnpm**

```sh
pnpm create farm@latest
```

**yarn**

```sh
yarn create farm@latest
```

**bun**

```sh
bun create farm@latest
```


Select ` Tauri ` template in ` Select Framework `


1. project name
2. choose sub template


In your terminal, cd into the new Tauri project folder.


Update the file with the following content:


```ts
import { defineConfig } from '@farmfe/core';
import react from '@farmfe/plugin-react';

export default defineConfig({
  plugins: [react()],
  server: {
    port: 1420
  }
});

```


then run ` pnpm tauri dev `


For more example details: [React Example](<https://github.com/farm-fe/farm/tree/main/examples/Tauri>)
