IssueRaiser

[Feature request] Show browser error overlay for runtime errors

I really like the browser error overlay that we get for compile errors (_server.hmr.overlay_). But runtime errors still appear only in console. It would be nice if runtime errors could also be displayed using the nice browser error overlay. For example, it would be nice to get the overlay if I forgot to import ref: ```` <script setup> import HelloWorld from './components/HelloWorld.vue' const name = ref('Martin') </script> ```` I'm talking about this overlay: ![](https://pbs.twimg.com/media/EpKty0XW8AAPxQA?format=jpg&name=large)

Posted by martinszeltins on Feb 18, 2021, 1:43 PM

Tags

Related issues

Raise real-world problems, find people facing the same issue, and discuss solutions.3,000 issues0 comments

onboarding (Software)

[Feature request] Show browser error overlay for runtime errors

martinszeltinsFeb 18, 2021, 1:43 PM

I really like the browser error overlay that we get for compile errors (_server.hmr.overlay_). But runtime errors still appear only in console. It would be nice if runtime errors could also be displayed using the nice browser error overlay. For example, it would be nice to get the overlay if I forgot to import ref: ```` <script setup> import HelloWorld from './components/HelloWorld.vue' const name = ref('Martin') </script> ```` I'm talking about this overlay: ![](https://pbs.twimg.com/media/EpKty0XW8AAPxQA?format=jpg&name=large)

Comments (0)

No comments yet. Start the discussion.

Comment on this issue