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

Demo sapper implementation #6

Closed
orenrobi opened this issue Dec 26, 2018 · 1 comment
Closed

Demo sapper implementation #6

orenrobi opened this issue Dec 26, 2018 · 1 comment

Comments

@orenrobi
Copy link

Hi @jacobmischka, new to svelte and I'm trying to make an example Sapper repo using this datepicker, and running into build issues.

I've used an example webpack config for sapper for my webpack.config.js, and the example code from the README in this repo in my routes/index.html.

I'm currently getting this CSS loader error. Any pointers?

screenshot from 2018-12-25 20-07-45

@jacobmischka
Copy link
Owner

Hi! Server rendering with Sapper fails when it tries to load css files, because by default no css loaders are specified in the webpack config. You can handle that in a variety of ways, but I tend to use ignore-loader. Here's the webpack.config.js of one of my projects: https://gist.github.com/jacobmischka/f36b6a635d924d610c212164aac296ff

Please feel free to write back if you run into any other issues.

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

2 participants