Skip to content

v1.5.0

Choose a tag to compare

@yuanchuan yuanchuan released this 12 Apr 15:43
· 52 commits to main since this release
  • Components now will be namespaced with its directory names by default.

      <FormInput />
      <!-- form/input.svelte -->
      
      <ChartPie />
      <!-- charts/pie.svelte -->
  • New prefix option for adding custom prefix for components.

     autoImport({
       components: [{ name: './src/components', prefix: 'shared' } ],
     })

    So that

     <SharedFormInput />
     <!-- form/input.svelte -->
  • New flat option for turning off the namespace feature.

     autoImport({
       components: [{ name: './src/components', flat: true } ],
     })

    So that

     <Popup />
     <!-- modal/inline/popup.svelte -->