Vanilla Svelte renders images as list instead of a grid
MindSetFPS opened this issue · comments
MindSetFPS commented
Description
Images are rendered but as a list instead of a grid. Also, console gives some errors:
[HMR][Svelte] Unrecoverable HMR error in <App>: next update will trigger a full reload proxy.js:15:11
logError http://localhost:5173/node_modules/svelte-hmr/runtime/proxy.js?v=1b726137:15
Proxy<App> http://localhost:5173/node_modules/svelte-hmr/runtime/proxy.js?v=1b726137:380
<anonymous> http://localhost:5173/src/main.js:4
Uncaught TypeError: options.props is undefined
JustifiedGrid JustifiedGrid.js:11
instance Grid.svelte:51
run index.mjs:20
mount_component index.mjs:1953
flush index.mjs:1191
init index.mjs:2048
App App.svelte:426
createProxiedComponent svelte-hooks.js:341
ProxyComponent proxy.js:242
Proxy<App> proxy.js:349
<anonymous> main.js:4
Uncaught (in promise) TypeError: grid is undefined
Steps to check or reproduce
Using a clean svelte + vite project (no sveltekit)
1.- Create new svelte project with vite
npm create vite@latest
select vanilla svelte and javascript
2.- Replace App.svelte contents file with storybook example
Versions
Node: v18.12.1
Svelte: 3.54.0
egjs-grid: 1.11.2
Daybrush (Younkue Choi) commented
okay. I'll fix it soon.
Daybrush (Younkue Choi) commented