Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom import warning #207

Open
slorber opened this issue May 28, 2020 · 0 comments
Open

Custom import warning #207

slorber opened this issue May 28, 2020 · 0 comments

Comments

@slorber
Copy link

slorber commented May 28, 2020

Hi,

I know it's not possible to use imports in the editor. Was wondering if it's possible to customize the error message in case the user tries to import something.

image

Instead of this error message, I'd like an error message explaining how the user should provide the components in react-live scope, with a link to a tutorial on how to do so in the context of my project.

I think many people try to import things in react-live, and it fails with this unfriendly message. It happened to me and I've seen some issues about that already.

Does it make sense?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants