소스 검색

临时启动vconsole

wyling 3 년 전
부모
커밋
5a45c29b78
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/main.ts

+ 1 - 1
src/main.ts

@@ -8,7 +8,7 @@ import "./utils/rem";
 import components from "./components";
 
 import VConsole from "vconsole";
-if (import.meta.env.MODE === "development") new VConsole();
+if (import.meta.env.MODE !== "development") new VConsole();
 
 const app = createApp(App);
 app.use(store);