Files
it_tools/README.md
Chaos fdbb482b89 feat(app): 初始化项目基础结构- 添加 SvelteKit项目基础文件- 配置 Tauri 桌面应用支持- 集成 TailwindCSS 样式框架- 设置代码格式化与检查工具
- 添加开发与构建脚本
- 配置静态资源与路由文件
- 初始化版本控制忽略文件- 添加编辑器配置与代码风格设置
2025-11-04 11:45:29 +08:00

39 lines
859 B
Markdown

# sv
Everything you need to build a Svelte project, powered by [`sv`](https://github.com/sveltejs/cli).
## Creating a project
If you're seeing this, you've probably already done this step. Congrats!
```sh
# create a new project in the current directory
npx sv create
# create a new project in my-app
npx sv create my-app
```
## Developing
Once you've created a project and installed dependencies with `npm install` (or `pnpm install` or `yarn`), start a development server:
```sh
npm run dev
# or start the server and open the app in a new browser tab
npm run dev -- --open
```
## Building
To create a production version of your app:
```sh
npm run build
```
You can preview the production build with `npm run preview`.
> To deploy your app, you may need to install an [adapter](https://svelte.dev/docs/kit/adapters) for your target environment.