Lots of imports like this in the installed code:
import { ... } from '$lib/datagrid/...'
import { ... } from '$lib/datagrid-enhanced/...'
even if the CLI was told other folders than the default ones (/src/lib/datagrid and /src/lib/datagrid-enhanced).
Worse, lots of imports like this (double-dotted) :
import { ... } from "../../../datagrid/plugins/...".
This pattern ruins the custom 'datagrid-enhanced' folder if we chose, say ".src/lib/components/datagrid/enhanced".
It would probably better to stick with this pattern (using $lib):
$lib/<datagrid-enhanced-custom-folder>/...
throughout the code base, in a coherent manner.
Lots of imports like this in the installed code:
import { ... } from '$lib/datagrid/...'import { ... } from '$lib/datagrid-enhanced/...'even if the CLI was told other folders than the default ones (
/src/lib/datagridand/src/lib/datagrid-enhanced).Worse, lots of imports like this (double-dotted) :
import { ... } from "../../../datagrid/plugins/...".This pattern ruins the custom 'datagrid-enhanced' folder if we chose, say
".src/lib/components/datagrid/enhanced".It would probably better to stick with this pattern (using
$lib):$lib/<datagrid-enhanced-custom-folder>/...throughout the code base, in a coherent manner.