Download the PHP package ohseesoftware/laravel-vite-manifest without Composer
On this page you can find all versions of the php package ohseesoftware/laravel-vite-manifest. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download ohseesoftware/laravel-vite-manifest
More information about ohseesoftware/laravel-vite-manifest
Files in ohseesoftware/laravel-vite-manifest
Package laravel-vite-manifest
Short Description Simple Blade directive to include Vite files from a manifest.
License MIT
Homepage https://github.com/ohseesoftware/laravel-vite-manifest
Informations about the package laravel-vite-manifest
Laravel Vite Manifest
Overview
The Laravel Vite Manifest package adds a Blade directive to include Vite's JS and CSS output files, pulled from the generated manifest file. The main logic of this package was sourced from https://github.com/andrefelipe/vite-php-setup.
Usage
Add the @vite
directive where you want to include the JS and CSS files:
By default, the directive will attempt to include the js/app.js
file. However, if you have a different entrypoint file, you can pass that into the directive:
It is recommended you include your source .css
files from within your source js/app.js
file. This will allow Vite to include it as a dependency.
Changelog
Please see CHANGELOG for more information what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
Credits
- Owen Conti
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
Laravel Package Boilerplate
This package was generated using the Laravel Package Boilerplate.