Download the PHP package mimmi20/laminasviewrenderer-vite-url without Composer
On this page you can find all versions of the php package mimmi20/laminasviewrenderer-vite-url. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download mimmi20/laminasviewrenderer-vite-url
More information about mimmi20/laminasviewrenderer-vite-url
Files in mimmi20/laminasviewrenderer-vite-url
Package laminasviewrenderer-vite-url
Short Description Provides a Viewhelper to render urls for resources build with Vite
License MIT
Homepage https://github.com/mimmi20/laminasviewrenderer-vite-url
Informations about the package laminasviewrenderer-vite-url
laminasviewrenderer-vite-url
Code Status
Introduction
This component provides a view helper to render urls for resources build with Vite
Requirements
This library requires PHP 8.3+.
Installation
Run
Prepare Vite
In your Vite config, you need to activate the manifest.
The required manifest file and the resorce files are created when running Vite's build command.
Config
This viewhelper needs a config to know where the public and the build directories are. The directories have to match the directories configured for Vite.
Usage
Now you may add a file build with Vite. It is nessesary to use the exact path, you use in the Vite config. Otherwise the file can not be found in the manifest.
License
This package is licensed using the MIT License.
Please have a look at LICENSE.md
.
All versions of laminasviewrenderer-vite-url with dependencies
laminas/laminas-view Version ^2.39.0
psr/container Version ^1.1.2