mhkeller / layercake.graphics

Website for Layer Cake
https://layercake.graphics
MIT License
8 stars 6 forks source link

Fix "Layout components" section example code #18

Closed AlexandreCantin closed 4 years ago

AlexandreCantin commented 4 years ago

When copy-paste this example code in the App.svelte from the repo https://github.com/mhkeller/layercake-template, I have got this error : Error: Could not resolve './components/ScatterCanvas.html' from src/App.svelte

To make the code working in the demo project, .html extensions need to be replace .svelte

mhkeller commented 4 years ago

Thanks for catching this. I think this PR is the same lines? I'm currently updating some of the styles and need to go back through and match up the guide.

AlexandreCantin commented 4 years ago

Yes, the same lines are concerned :) Will close this PR ! 😄

mhkeller commented 4 years ago

@AlexandreCantin thanks for sending this, though. I hadn't seen the earlier PR so this drew my attention to it. It's fixed on the site!