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

Non-default imports from svelte/materialify not working #1

Open
Psik628 opened this issue Dec 31, 2020 · 0 comments
Open

Non-default imports from svelte/materialify not working #1

Psik628 opened this issue Dec 31, 2020 · 0 comments

Comments

@Psik628
Copy link
Contributor

Psik628 commented Dec 31, 2020

Importing components this way does not work:
import { Card, CardText, CardActions, Button } from 'svelte-materialify/src';

This way must be used instead:
import Card from 'svelte-materialify/src/components/Card/Card.svelte';
import CardText from 'svelte-materialify/src/components/Card/CardText.svelte';

@Psik628 Psik628 changed the title Non-default from svelte/materialify not working Non-default imports from svelte/materialify not working Dec 31, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant