We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I'm having trouble importing this library to svelte Here's the code that I used
import superplaceholder from 'superplaceholder'; superplaceholder({ el: document.querySelector('input'), sentences: ['Something to show', 'Another thing to show'] });
The error is
Cannot find module 'superplaceholder' imported from 'D:/Documents/Svelte/aol/src/routes/+page.svelte'
How do I import this library?
The text was updated successfully, but these errors were encountered:
This is because superplaceholder doens't export anything. You can import it without expecting out of it and then use window.superplaceholder instead:
window.superplaceholder
import 'superplaceholder'; window.superplaceholder({ el: document.querySelector('input'), sentences: ['Something to show', 'Another thing to show'] });
Sorry, something went wrong.
No branches or pull requests
I'm having trouble importing this library to svelte
Here's the code that I used
The error is
Cannot find module 'superplaceholder' imported from 'D:/Documents/Svelte/aol/src/routes/+page.svelte'
How do I import this library?
The text was updated successfully, but these errors were encountered: