Error overlay on dev for Vite
npm install vite-plugin-error-overlayI might not actively working on this. If you want this package name, contact @antfu.
----
Error overlay in development for Vite
Install
``bash`
npm i vite-plugin-error-overlay -D # yarn add vite-plugin-error-overlay -D
Add it to vite.config.js
`ts
// vite.config.js
import { ErrorOverlay } from 'vite-plugin-error-overlay'
export default {
plugins: [
ErrorOverlay()
]
}
`
The following show the default values of the configuration
`ts``
ErrorOverlay({})
See the Vitesse starter template.
MIT License © 2020 Anthony Fu