apility/laravel-vite-components
A Vite companion library for Laravel to be used together with @apility/vite-plugin-dev-manifest.
1,065
| Install | |
|---|---|
composer require apility/laravel-vite-components |
|
| Latest Version: | v1.0.0 |
| Laravel: | 8 |
| License: | MIT |
| Last Updated: | Mar 14, 2022 |
| Links: | GitHub · Packagist |
Maintainer: cathrinevaage
laravel-vite-components
A Vite companion library for Laravel to be used together with @apility/vite-plugin-dev-manifest.
Installation
$ composer require apility/laravel-vite-components
Usage
Insert the <x-vite-head /> and <x-vite-body /> blade components at the end of your <head> and <body>.
<!DOCTYPE html>
<html>
<head>
...
<x-vite-head entry="main.js" />
</head>
<body>
...
<x-vite-body entry="main.js" />
</body>
</html>
Related Packages
doctrine/dbal
Powerful PHP database abstraction layer (DBAL) with many features for database s...
644,549,754
9,698
laravel/serializable-closure
Laravel Serializable Closure provides an easy and secure way to serialize closur...
423,477,751
607
nunomaduro/collision
Cli error handling for console/command-line PHP applications.
403,217,078
4,664
Version History
| Version | Released | Laravel | License |
|---|---|---|---|
| v1.0.0 | ^8.0 | MIT |