chore: Add debug tool for development mode
All checks were successful
CI / cache-and-install (push) Successful in 1m24s
All checks were successful
CI / cache-and-install (push) Successful in 1m24s
This commit is contained in:
@ -11,6 +11,7 @@ import { DataLoaderPlugin } from 'unplugin-vue-router/data-loaders';
|
|||||||
|
|
||||||
async function init() {
|
async function init() {
|
||||||
if (import.meta.env.MODE === 'development' || 1 === 1) {
|
if (import.meta.env.MODE === 'development' || 1 === 1) {
|
||||||
|
// TODO: https://github.com/hu3dao/vite-plugin-debug/
|
||||||
// https://eruda.liriliri.io/zh/docs/#快速上手
|
// https://eruda.liriliri.io/zh/docs/#快速上手
|
||||||
await import('eruda').then(({ default: eruda }) => {
|
await import('eruda').then(({ default: eruda }) => {
|
||||||
eruda.init({
|
eruda.init({
|
||||||
|
Reference in New Issue
Block a user