apility / laravel-vite-components
A Vite companion library for Laravel to be used together with @apility/vite-plugin-dev-manifest.
v1.0.0
2022-03-14 12:20 UTC
Requires
- illuminate/support: ^8.0
- illuminate/view: ^8.0
Requires (Dev)
- laravel/framework: ^8.0
README
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>