Comments (2)
It seems this isn't a problem with layer cake per se. Svelte's node rendering doesn't support javascript files that export components like src/index.js
.
from layercake.
Rich put together a fix involving bundling to CommonJS sveltejs/svelte#5185 (comment)
I made a new server-side template example showing this setup: https://github.com/mhkeller/layercake-template-ssr
from layercake.
Related Issues (20)
- Color bar component HOT 4
- Set a default height in pixels on the examples HOT 1
- Handle mouse events for an entire LayerCake HOT 5
- yTick in AxisY.svelte changes position of marks and gridlines HOT 2
- 3d graph HOT 3
- more axis examples HOT 5
- Issue with package.json "exports" prop HOT 5
- Upgrade to svelte 4 HOT 2
- Create `cScale` for color? HOT 5
- Update REPL examples HOT 1
- Option to use different canvas contexts? HOT 6
- Should auto-calculated ordinal domain return sorted? HOT 2
- Sorted ordinal regression HOT 14
- Collapsible tree HOT 3
- Migrate to Runes HOT 6
- Chart showing up blank HOT 10
- Update to SvelteKit 2 HOT 2
- Question: is it NOT meant to be used with TypeScript? HOT 4
- Scatter plot with two dataset HOT 9
- Add prop to not sort a calculated domain from ordinal scale HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from layercake.