feat: 初始化 SvelteKit 项目基础结构和示例组件
- 添加项目配置文件(.npmrc, pnpm-workspace.yaml, prettier 配置等) - 设置基础路由和布局组件 - 实现示例组件展示 Svelte 5 新特性($state, $derived 等) - 配置测试环境(单元测试和 E2E 测试) - 添加静态资源和 favicon
This commit is contained in:
6
playwright.config.ts
Normal file
6
playwright.config.ts
Normal file
@@ -0,0 +1,6 @@
|
||||
import { defineConfig } from '@playwright/test';
|
||||
|
||||
export default defineConfig({
|
||||
webServer: { command: 'npm run build && npm run preview', port: 4173 },
|
||||
testDir: 'e2e'
|
||||
});
|
||||
Reference in New Issue
Block a user