---
sidebar_position: 2
---
# 创建项目
## 项目生成
现在 CLI 已安装,您可以使用 `wails init` 命令生成一个新项目。
选择您最喜欢的框架:
```mdx-code-block
import Tabs from "@theme/Tabs";
import TabItem from "@theme/TabItem";
wails init -n myproject -t svelte
如果您更愿意使用 TypeScript:
wails init -n myproject -t svelte-ts
wails init -n myproject -t react
如果您更愿意使用 TypeScript:
wails init -n myproject -t react-ts
wails init -n myproject -t vue
如果您更愿意使用 TypeScript:
wails init -n myproject -t vue-ts
wails init -n myproject -t preact
如果您更愿意使用 TypeScript:
wails init -n myproject -t preact-ts
wails init -n myproject -t lit
如果您更愿意使用 TypeScript:
wails init -n myproject -t lit-ts
wails init -n myproject -t vanilla
如果您更愿意使用 TypeScript:
wails init -n myproject -t vanilla-ts