feat(app): 初始化项目基础结构- 添加 SvelteKit项目基础文件- 配置 Tauri 桌面应用支持- 集成 TailwindCSS 样式框架- 设置代码格式化与检查工具
- 添加开发与构建脚本 - 配置静态资源与路由文件 - 初始化版本控制忽略文件- 添加编辑器配置与代码风格设置
This commit is contained in:
12
svelte.config.js
Normal file
12
svelte.config.js
Normal file
@@ -0,0 +1,12 @@
|
||||
import adapter from '@sveltejs/adapter-static';
|
||||
import { vitePreprocess } from '@sveltejs/vite-plugin-svelte';
|
||||
|
||||
/** @type {import('@sveltejs/kit').Config} */
|
||||
const config = {
|
||||
// Consult https://svelte.dev/docs/kit/integrations
|
||||
// for more information about preprocessors
|
||||
preprocess: vitePreprocess(),
|
||||
kit: { adapter: adapter() }
|
||||
};
|
||||
|
||||
export default config;
|
||||
Reference in New Issue
Block a user