Vite Bundle

screenshot of Vite Bundle
vite

Integration with your Symfony app & Vite

Overview

ViteBundle is a Symfony integration with Vite, delivering only the necessary code to Packagist from the main repository symfony-vite-dev. This bundle assists in rendering all the dynamic script and link tags required for your Symfony project by providing two Twig functions to load the correct scripts into your templates.

Features

  • Symfony Integration: Seamlessly integrates with Symfony projects.
  • Dynamic Script Loading: Renders all the necessary dynamic script and link tags.
  • Twig Functions: Provides two Twig functions to include JavaScript entries in templates.
  • Lightweight: Delivers only the required code to Packagist for efficiency.
  • Ecosystem Support: Works in conjunction with vite-plugin-symfony and symfony-vite-dev packages.

Summary

ViteBundle offers a seamless integration with Symfony projects, simplifying the process of rendering dynamic script and link tags. With its lightweight nature and support for Twig functions, this bundle provides a convenient solution for managing JavaScript entries in Symfony templates. Additionally, it works effectively within the Vite ecosystem alongside other related packages.

vite
Vite

Vite is a build tool that aims to provide a faster and leaner development experience for modern web projects