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

Failed to find 'import.css' in Switch #511

Open
ramiroaisen opened this issue Sep 3, 2019 · 1 comment
Open

Failed to find 'import.css' in Switch #511

ramiroaisen opened this issue Sep 3, 2019 · 1 comment

Comments

@ramiroaisen
Copy link

ramiroaisen commented Sep 3, 2019

Hi ! Im glad to see this proyect i'll be glad to collaborate

Here's my problem
Im trying to use the Switch component with sapper and rollup and i get this error
I have configured postcss with svelte preprocess.

There's an @import "import.css" that points to nowhere, i imagine that i have to put some paths to tell postcss where to look for it

Thanks!

@ramiroaisen ramiroaisen changed the title Failed to find 'import.css' Failed to find 'import.css' in Switch Sep 3, 2019
@ramiroaisen
Copy link
Author

I search in the files and find the way to get it working, the question is that for a sapper proyect you cant use the precompiled files, you have to be able to compile the components yourself.
You can provide a preprocessed (but not precompiled) svelte file for each component to solve this.

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