v1.5.0
-
Components now will be namespaced with its directory names by default.
<FormInput /> <!-- form/input.svelte --> <ChartPie /> <!-- charts/pie.svelte -->
-
New
prefixoption for adding custom prefix for components.autoImport({ components: [{ name: './src/components', prefix: 'shared' } ], })
So that
<SharedFormInput /> <!-- form/input.svelte -->
-
New
flatoption for turning off the namespace feature.autoImport({ components: [{ name: './src/components', flat: true } ], })
So that
<Popup /> <!-- modal/inline/popup.svelte -->