Skip to content

Latest commit

 

History

History
24 lines (18 loc) · 594 Bytes

troubleshooting.md

File metadata and controls

24 lines (18 loc) · 594 Bytes

Trouble Shooting

DevTools (vite plugin) doesn't render as expected

If you see devtools render as follows:

issue image

And you are using vite-plugin-html, please make sure register vite-plugin-vue-devtools before vite-plugin-html.

// vite.config.ts
import { defineConfig } from 'vite'
import { createHtmlPlugin } from 'vite-plugin-html'
import vueDevTools from 'vite-plugin-vue-devtools'

export default defineConfig({
  plugins: [
    // register vueDevTools before createHtmlPlugin
    vueDevTools(),
    createHtmlPlugin({})
  ]
})