awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
unplugin avatar

unplugin/unplugin-vue-components

0
View on GitHub↗
4,288 stars·382 forks·TypeScript·MIT·11 viewswww.npmjs.com/package/unplugin-vue-components↗

Unplugin Vue Components

unplugin-vue-components is a build tool that automatically imports and registers Vue components used in templates, eliminating the need for manual import statements. It functions as a plugin for various bundlers, including Vite and Webpack, to resolve and inject component dependencies during the compilation process.

The project features a mapping system that identifies and imports components from popular third-party Vue interface libraries. This resolution logic can be extended via custom resolver extensions to modify how specific UI libraries are discovered and imported.

To maintain type safety, the tool includes a TypeScript type generator that creates global declaration files. These files provide autocompletion and type checking for components that are loaded without explicit imports.

Features

  • Automatic Component Imports - Automatically resolves and imports Vue components used in templates to eliminate manual import boilerplate.
  • AST-Based Source Injections - Implements build-time AST modification to automate the injection of component registration and import statements.
  • Component-to-File Mappings - Provides a mapping system that resolves component names to their actual source file paths within libraries.
  • Template Scan Importers - Analyzes Vue templates to automatically identify used components and insert necessary import statements.
  • UI Library Resolvers - Resolves component imports from external libraries using custom mapping to simplify asset loading.
  • TypeScript Type Generators - Creates TypeScript declaration files to provide autocompletion for components loaded without explicit imports.
  • Custom Resolver Extensions - Allows integrating external resolver packages to customize how specific UI libraries are discovered and imported.
  • TypeScript Declaration Generators - Automatically generates global TypeScript declaration files to provide autocompletion and type checking for auto-imported components.
  • Vue Build Pipeline Optimizations - Optimizes the Vue build pipeline by shifting component resolution and registration from manual templates to the build process.
  • Component Type Definitions - Generates type definitions for auto-imported components to enable safe property and event usage in the editor.
  • Third-Party Library Integrations - Provides built-in resolvers to automatically identify and import components from popular third-party Vue interface libraries.
  • Global Component Registration - Adds TypeScript definitions for components registered globally by external libraries to avoid redundant imports.
  • Vite Integrations - Functions as a plugin for Vite and Webpack to resolve and inject component dependencies during compilation.
  • Hook-Based Plugin Systems - Implements a hook-based system that allows the same logic to operate across different bundlers like Vite and Webpack.
  • Automated UI Library Integration - Integrates third-party component libraries into Vue projects by automatically resolving assets based on template usage.
  • Global Component Type Definitions - Injects global component definitions into the TypeScript environment to prevent type errors for auto-registered components.
  • Vue.js Component Development - Automates the import and registration of Vue components to streamline the development of single-file components.
  • Vue TypeScript Integrations - Integrates TypeScript with Vue by generating type definitions for components that are auto-imported.
  • Developer Utilities - On-demand component auto-importing.

Star history

Star history chart for unplugin/unplugin-vue-componentsStar history chart for unplugin/unplugin-vue-components

How this analysis was created: This summary and feature list are AI-generated from collected project material and can contain mistakes. Stars, license and language are imported from GitHub. Inclusion does not mean that we have tested or audited this project. Check the source documentation for any feature you depend on. Learn more on our About page.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Projects sharing features with Unplugin Vue Components

These projects share indexed features with Unplugin Vue Components. Shared tags can include platform or build tooling; verify the primary use case before treating a result as a replacement.
  • antfu/unplugin-vue-componentsantfu avatar

    antfu/unplugin-vue-components

    4,288View on GitHub↗

    unplugin-vue-components is a build tool that automatically injects import and registration statements for Vue components based on their usage in templates. It functions as a framework-agnostic plugin compatible with multiple build tools, including Vite, Webpack, and Rollup. The project provides automated resolution for components from external UI libraries and supports directory-based namespacing to organize elements by folder. To maintain developer experience, it includes a type generator that creates TypeScript declaration files for components imported at build time. Additional capabilitie

    TypeScript
    View on GitHub↗4,288
  • unplugin/unplugin-iconsunplugin avatar

    unplugin/unplugin-icons

    4,774View on GitHub↗

    unplugin-icons is a build-time plugin that integrates with modern bundlers to import icons from popular icon sets automatically. It detects icon usage in source code and tree-shakes the final bundle to include only the icons actually referenced, reducing unnecessary payload. The plugin also provides a mechanism for loading custom SVG icon collections from local files or remote sources, making them accessible through the same import syntax as built-in sets. The plugin is framework-agnostic and offers a conventional path resolution scheme for referencing icons by collection and name across diff

    TypeScripticonifyiconsjsx
    View on GitHub↗4,774
  • antfu/unplugin-auto-importantfu avatar

    antfu/unplugin-auto-import

    3,786View on GitHub↗

    unplugin-auto-import is a build-time import automation plugin and AST-based code transformer. It analyzes source code to identify missing identifiers and automatically injects the required import statements during the bundling process. The project functions as a cross-bundler build plugin, providing a unified abstraction layer that ensures consistent behavior across Vite, Webpack, and Rollup. It utilizes a pattern-based module resolver to scan local directories via glob patterns and employs a TypeScript declaration generator to maintain type definition files for IDE autocompletion. Its capab

    TypeScript
    View on GitHub↗3,786
  • emdash-cms/emdashemdash-cms avatar

    emdash-cms/emdash

    10,887View on GitHub↗

    EmDash is an open-source content management system built on Astro that combines a visual admin panel with a plugin-driven architecture and server-side rendering. It provides a complete content management system with structured content modeling, a rich text editor using Portable Text format, and a TypeScript API for type-safe content queries. The system supports authentication through passkeys, OAuth 2.1, and external providers, with role-based access control and fine-grained permission scopes. What distinguishes EmDash is its plugin development framework, which supports both native plugins ru

    TypeScriptastrocmsemdash
    View on GitHub↗10,887
Compare all 30 related projects→

Frequently asked questions

What does unplugin/unplugin-vue-components do?

unplugin-vue-components is a build tool that automatically imports and registers Vue components used in templates, eliminating the need for manual import statements. It functions as a plugin for various bundlers, including Vite and Webpack, to resolve and inject component dependencies during the compilation process.

What are the main features of unplugin/unplugin-vue-components?

The main features of unplugin/unplugin-vue-components are: Automatic Component Imports, AST-Based Source Injections, Component-to-File Mappings, Template Scan Importers, UI Library Resolvers, TypeScript Type Generators, Custom Resolver Extensions, TypeScript Declaration Generators.

Which projects share features with unplugin/unplugin-vue-components?

Projects with overlapping indexed features include: antfu/unplugin-vue-components — unplugin-vue-components is a build tool that automatically injects import and registration statements for Vue… unplugin/unplugin-icons — unplugin-icons is a build-time plugin that integrates with modern bundlers to import icons from popular icon sets… antfu/unplugin-auto-import — unplugin-auto-import is a build-time import automation plugin and AST-based code transformer. It analyzes source code… emdash-cms/emdash — EmDash is an open-source content management system built on Astro that combines a visual admin panel with a… kaorun343/vue-property-decorator — This project is a TypeScript-driven toolkit that provides decorators and class-based structures for building Vue.js… bencodezen/vue-enterprise-boilerplate — This project is a pre-configured architecture and development environment designed for building large-scale single…