From 71b87f22f2d4e5dbcb1f42a633eede37d51dffe3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joaqu=C3=ADn=20S=C3=A1nchez?= Date: Sat, 22 Feb 2025 18:47:54 +0100 Subject: [PATCH] docs: add vite-plugin-vue-devtools warning We need to check why it is failing to resolve the woff2 font files in the ui, it is failing when opening the module dialog, check #134 . /cc @antfu I guess it is a problem having `vite-plugin-inspect` installed twice, from the vite config file and from the devtools plugin. --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index f0620dd..f39d722 100644 --- a/README.md +++ b/README.md @@ -18,6 +18,10 @@ npm i -D vite-plugin-inspect > > For Vite v2 to v5, use v0.8.x of `vite-plugin-inspect`. If you want to use it with both Vite 6 and below, you can still use v0.8.x, it's forwards compatible. +> [!WARNING] +> +> If you're using [vite-plugin-vue-devtools](https://devtools.vuejs.org/guide/vite-plugin), don't install/register this plugin, use the `Vite Inspect` entry in the `vite-plugin-vue-devtools` UI (it uses this plugin internally). + Add plugin to your `vite.config.ts`: ```ts