1 Star 0 Fork 0

血手人屠/tauri+rust

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
vite.config.js.timestamp-1725850574649-2a07affad375a.mjs 2.66 KB
一键复制 编辑 原始数据 按行查看 历史
shanshenghui 提交于 2024-09-09 10:56 . feta: init
// vite.config.js
import { defineConfig } from "file:///E:/project-ssh/tauri-projects/feint-demos/tauri-rust-new/node_modules/vite/dist/node/index.js";
import vue from "file:///E:/project-ssh/tauri-projects/feint-demos/tauri-rust-new/node_modules/@vitejs/plugin-vue/dist/index.mjs";
var vite_config_default = defineConfig(async () => ({
plugins: [vue()],
// Vite options tailored for Tauri development and only applied in `tauri dev` or `tauri build`
//
// 1. prevent vite from obscuring rust errors
clearScreen: false,
// 2. tauri expects a fixed port, fail if that port is not available
server: {
port: 1420,
strictPort: true,
watch: {
// 3. tell vite to ignore watching `src-tauri`
ignored: ["**/src-tauri/**"]
}
}
}));
export {
vite_config_default as default
};
//# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsidml0ZS5jb25maWcuanMiXSwKICAic291cmNlc0NvbnRlbnQiOiBbImNvbnN0IF9fdml0ZV9pbmplY3RlZF9vcmlnaW5hbF9kaXJuYW1lID0gXCJFOlxcXFxwcm9qZWN0LXNzaFxcXFx0YXVyaS1wcm9qZWN0c1xcXFxmZWludC1kZW1vc1xcXFx0YXVyaS1ydXN0LW5ld1wiO2NvbnN0IF9fdml0ZV9pbmplY3RlZF9vcmlnaW5hbF9maWxlbmFtZSA9IFwiRTpcXFxccHJvamVjdC1zc2hcXFxcdGF1cmktcHJvamVjdHNcXFxcZmVpbnQtZGVtb3NcXFxcdGF1cmktcnVzdC1uZXdcXFxcdml0ZS5jb25maWcuanNcIjtjb25zdCBfX3ZpdGVfaW5qZWN0ZWRfb3JpZ2luYWxfaW1wb3J0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FTO0FBR2hCLElBQU8sc0JBQVEsYUFBYSxhQUFhO0FBQUEsRUFDdkMsU0FBUyxDQUFDLElBQUksQ0FBQztBQUFBO0FBQUE7QUFBQTtBQUFBLEVBS2YsYUFBYTtBQUFBO0FBQUEsRUFFYixRQUFRO0FBQUEsSUFDTixNQUFNO0FBQUEsSUFDTixZQUFZO0FBQUEsSUFDWixPQUFPO0FBQUE7QUFBQSxNQUVMLFNBQVMsQ0FBQyxpQkFBaUI7QUFBQSxJQUM3QjtBQUFBLEVBQ0Y7QUFDRixFQUFFOyIsCiAgIm5hbWVzIjogW10KfQo=
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/xrwork/tauri-rust.git
git@gitee.com:xrwork/tauri-rust.git
xrwork
tauri-rust
tauri+rust
master

搜索帮助