-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Lit + SSR: unable to resolve a valid export #8216
Comments
I had a similar Error. I made the mistake to write |
Astro's island component detection works through direct imports of the framework component:
In this case, you're importing You can fix it by writing it this way: ---
import { MdOutlinedButton } from '@material/web/button/outlined-button';
---
<MdOutlinedButton client:load>Hello World</MdOutlinedButton> |
Astro info
What browser are you using?
Chrome
Describe the Bug
What's the expected result?
MD components are working with Next.js SSR, see material-components/material-web#4245 (comment)
Please improve support for Lit.
Link to Minimal Reproducible Example
https://stackblitz.com/edit/github-uiraud?file=src%2Fpages%2Findex.astro
Participation
The text was updated successfully, but these errors were encountered: