From 1553ec013eb2ea05a832a123e35eed08f4011b02 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=A5=E6=B5=A9?= Date: Thu, 22 Aug 2024 14:31:43 +0800 Subject: [PATCH] chore: Add debug tool for development mode --- src/main.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main.ts b/src/main.ts index 7e9f65d..8a9c4f4 100644 --- a/src/main.ts +++ b/src/main.ts @@ -11,6 +11,7 @@ import { DataLoaderPlugin } from 'unplugin-vue-router/data-loaders'; async function init() { if (import.meta.env.MODE === 'development' || 1 === 1) { + // TODO: https://github.com/hu3dao/vite-plugin-debug/ // https://eruda.liriliri.io/zh/docs/#快速上手 await import('eruda').then(({ default: eruda }) => { eruda.init({