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...

641,106,524 9,700
laravel/framework

The Laravel Framework.

593,882,149 34,959
laravel/tinker

Powerful REPL for the Laravel framework.

502,645,077 7,441
laravel/serializable-closure

Laravel Serializable Closure provides an easy and secure way to serialize closur...

418,291,778 609
nunomaduro/collision

Cli error handling for console/command-line PHP applications.

394,964,158 4,660

Version History

Version Released Laravel License
v1.0.0 ^8.0 MIT