PHPackages                             ttbooking/vite-manager - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. ttbooking/vite-manager

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

ttbooking/vite-manager
======================

Vite Application Manager for Laravel.

v1.6.3(2mo ago)12.1k↓45.5%MITPHPPHP ^8.1CI passing

Since Feb 6Pushed 2mo ago1 watchersCompare

[ Source](https://github.com/ttbooking/vite-manager)[ Packagist](https://packagist.org/packages/ttbooking/vite-manager)[ RSS](/packages/ttbooking-vite-manager/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (10)Versions (19)Used By (0)

Laravel Vite Manager
====================

[](#laravel-vite-manager)

This package extends [Vite functionality built in Laravel](https://laravel.com/docs/10.x/vite), so you can manage multiple entry point (hereafter *app*) configurations without clogging your Blade templates with clumsy configuration code. It is especially useful if your project have multiple JS entry points, or if you develop a package which publishes its own Vite managed assets.

Installation
------------

[](#installation)

You can install this package using Composer:

```
composer require ttbooking/vite-manager
```

Then you'll probably need to publish configuration file:

```
artisan vendor:publish --tag=vite-manager
```

Configuration
-------------

[](#configuration)

There are 3 ways to configure Vite "apps".

### Config file

[](#config-file)

The most basic way. Use it if you develop a project with few entry points. Example `config/vite.php` file:

```
