Skip to content

Commit

Permalink
fix(settings): version pkg import err
Browse files Browse the repository at this point in the history
  • Loading branch information
keiko233 committed Aug 29, 2024
1 parent 0fe79da commit 2696a1f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { version } from "~/package.json";
import { useLockFn } from "ahooks";
import { useSetAtom } from "jotai";
import { useState } from "react";
Expand All @@ -20,6 +19,7 @@ import {
} from "@mui/material";
import { useNyanpasu } from "@nyanpasu/interface";
import { BaseCard } from "@nyanpasu/ui";
import { version } from "@root/package.json";
import { checkUpdate } from "@tauri-apps/api/updater";
import { LabelSwitch } from "./modules/clash-field";

Expand Down
1 change: 1 addition & 0 deletions frontend/nyanpasu/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
"jsx": "preserve",
"composite": true,
"paths": {
"@root/*": ["../../*"],
"@/*": ["./src/*"],
"~/*": ["./*"],
},
Expand Down
1 change: 1 addition & 0 deletions frontend/nyanpasu/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ export default defineConfig(({ command }) => {
],
resolve: {
alias: {
"@repo": path.resolve("../../"),
"@nyanpasu/ui": path.resolve("../ui/src"),
"@nyanpasu/interface": path.resolve("../interface/src"),
},
Expand Down

0 comments on commit 2696a1f

Please sign in to comment.