/unplugin-solid-components

About 📲 On-demand components auto importing for SolidJS. Based on @antfu 's unplugin-vue-components

unplugin-solid-components WIP

🛠️ under construction

NPM version

On-demand components auto importing for SolidJS.

Installation

npm i unplugin-solid-components -D
Vite
// vite.config.ts
import Components from 'unplugin-vue-components/vite'

export default defineConfig({
  plugins: [
    Components({ /* options */ }),
  ],
})


Rollup
// rollup.config.js
import Components from 'unplugin-vue-components/rollup'

export default {
  plugins: [
    Components({ /* options */ }),
  ],
}