awesome-repositories.com
Blog
awesome-repositories.com

Découvrez les meilleurs dépôts open-source grâce à notre recherche par IA.

ExplorerRecherches sélectionnéesAlternatives open sourceLogiciels auto-hébergésBlogPlan du site
ProjetÀ proposNotre méthodologiePresseServeur MCP
Mentions légalesConfidentialitéConditions d'utilisation
© 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·2 vueswww.npmjs.com/package/unplugin-vue-components↗

Unplugin Vue Components

unplugin-vue-components est un outil de construction qui importe et enregistre automatiquement les composants Vue utilisés dans les modèles, éliminant le besoin d'instructions d'importation manuelles. Il fonctionne comme un plugin pour divers bundlers, notamment Vite et Webpack, pour résoudre et injecter les dépendances de composants pendant le processus de compilation.

Le projet présente un système de mappage qui identifie et importe des composants à partir de bibliothèques d'interface Vue tierces populaires. Cette logique de résolution peut être étendue via des extensions de résolution personnalisées pour modifier la façon dont des bibliothèques d'interface utilisateur spécifiques sont découvertes et importées.

Pour maintenir la sécurité des types, l'outil inclut un générateur de types TypeScript qui crée des fichiers de déclaration globaux. Ces fichiers fournissent l'autocomplétion et la vérification de type pour les composants qui sont chargés sans importations explicites.

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.

Historique des stars

Graphique de l'historique des stars pour unplugin/unplugin-vue-componentsGraphique de l'historique des stars pour unplugin/unplugin-vue-components

Recherche par IA

Explorez plus de dépôts awesome

Décrivez vos besoins en langage naturel — l'IA classe des milliers de projets open source sélectionnés par pertinence.

Start searching with AI

Alternatives open source à Unplugin Vue Components

Projets open source similaires, classés selon le nombre de fonctionnalités partagées avec Unplugin Vue Components.
  • antfu/unplugin-vue-componentsAvatar de antfu

    antfu/unplugin-vue-components

    4,288Voir sur 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
    Voir sur GitHub↗4,288
  • unplugin/unplugin-iconsAvatar de unplugin

    unplugin/unplugin-icons

    4,774Voir sur 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
    Voir sur GitHub↗4,774
  • antfu/unplugin-auto-importAvatar de antfu

    antfu/unplugin-auto-import

    3,786Voir sur 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
    Voir sur GitHub↗3,786
  • emdash-cms/emdashAvatar de emdash-cms

    emdash-cms/emdash

    10,887Voir sur 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
    Voir sur GitHub↗10,887
Voir les 30 alternatives à Unplugin Vue Components→

Questions fréquentes

Que fait unplugin/unplugin-vue-components ?

unplugin-vue-components est un outil de construction qui importe et enregistre automatiquement les composants Vue utilisés dans les modèles, éliminant le besoin d'instructions d'importation manuelles. Il fonctionne comme un plugin pour divers bundlers, notamment Vite et Webpack, pour résoudre et injecter les dépendances de composants pendant le processus de compilation.

Quelles sont les fonctionnalités principales de unplugin/unplugin-vue-components ?

Les fonctionnalités principales de unplugin/unplugin-vue-components sont : 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.

Quelles sont les alternatives open-source à unplugin/unplugin-vue-components ?

Les alternatives open-source à unplugin/unplugin-vue-components incluent : 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…