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
Adding Plugins to svelte-datagrid #8
Comments
Hello @benquan Check if issue exists
Describe the issue To Reproduce |
Here is a working REPL running on sveltekit: now if you simply import the plugin You get the error: If you try a different plugin: You get a similar error If I run it on your sandbox it seems to work fine though: My guess is something is ESModules is crashing with commonjs. By the way this could be the plugin's problem but I posted here because it is a common problem. |
@benquan problem with svelte REPL I don't see there library version and anything else. Is that possible to make same with sandbox? |
Here it is with codesandbox of a skeleton sveltekit with grid sample pages: I created a project sampling different column types. The Numeral sample works Client side but does crashed with SSR. The Select Displays the grid with Client Side Rendering, but selection functionalty does not work (gives client side errors) and if run from SSR it will crash immediately The Date Displays the grid with Client Side Rendering, but date functionalty does not work (gives client side errors) and if run from SSR it will crash immediately And the SSR error on all plugins is:
|
I am trying to add plugins to svelte-datagrid. I am using the latest Svelte-kit and basically doing the sample code in one of the plugins:
The app breaks on the import with the message:
Am I doing something wrong or there is something wrong with the import? This happens with all column plugins.
The text was updated successfully, but these errors were encountered: