Download the PHP package praetorius/vite-asset-collector without Composer
On this page you can find all versions of the php package praetorius/vite-asset-collector. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download praetorius/vite-asset-collector
More information about praetorius/vite-asset-collector
Files in praetorius/vite-asset-collector
Download praetorius/vite-asset-collector
More information about praetorius/vite-asset-collector
Files in praetorius/vite-asset-collector
Vendor praetorius
Package vite-asset-collector
Short Description Use AssetCollector to embed frontend assets generated by vite
License GPL-2.0-or-later
Package vite-asset-collector
Short Description Use AssetCollector to embed frontend assets generated by vite
License GPL-2.0-or-later
Please rate this library. Is it a good library?
Informations about the package vite-asset-collector
Vite AssetCollector for TYPO3
Vite AssetCollector allows you to use the modern frontend bundler Vite to build your TYPO3 project's frontend assets.
Documentation
Documentation on docs.typo3.org
tl;dr
- Include PlugIn in vite config
- Add
Configuration/ViteEntrypoints.jsonto extension(s) - Add
<vite:asset entry="..." />to template - Run vite dev server
- Have fun!
Discussion & Support
You can join #vite on TYPO3 Slack to discuss anything about vite and TYPO3.
Feel free to contact me directly if you are interested in a (paid) workshop to introduce vite to your TYPO3 projects.
Development
Setup
Switching TYPO3 version
The extension supports multiple TYPO3 versions. To install the dependencies for a specific version locally (e. g. to run the tests or PHPStan against it), use the same command as CI:Tests
Functional and acceptance tests use SQLite, no database server needed. Acceptance tests use the project in `.Build/` as TYPO3 installation in composer mode and render a page with PHP's built-in web server (port 8601, can be changed with the environment variable `ACCEPTANCE_PORT`). Each run sets up TYPO3 from scratch in `config/` and `var/` in the repository root.Code quality
Use the PHPStan configuration that matches the installed TYPO3 version.Documentation
The documentation in `Documentation/` is rendered with Docker: The output is written to `Documentation-GENERATED-temp/`. CI fails on any rendering warning. After changing ViewHelper arguments or docblocks, regenerate the ViewHelper reference:Release workflow
Releases are published to GitHub and [TER](https://extensions.typo3.org/extension/vite_asset_collector) by GitHub Actions. Packagist picks up new tags automatically. 1. Update the version in `composer.json` and `ext_emconf.php`, then commit and push the change: For pre-releases (e. g. `2.1.0-rc1`), set the version in both files manually. 2. Run the [prepare release](https://github.com/s2b/vite-asset-collector/actions/workflows/prepare-release.yaml) workflow on `main`, entering the version (and checking "Pre-release" if applicable). It verifies the versions in both files and creates a draft release with generated release notes and the TER ZIP file attached (assets of immutable releases can't be changed after publishing). 3. Edit the release notes of the draft and publish it. This creates the tag. The [publish](https://github.com/s2b/vite-asset-collector/actions/workflows/publish.yaml) workflow then uploads the attached ZIP file to TER (except pre-releases), using the release notes as upload comment. Publishing to TER requires the repository secret `TYPO3_API_TOKEN` (created at extensions.typo3.org with the scopes `extension:read,extension:write`). If the upload fails, re-run the failed jobs in the Actions tab instead of publishing the release again.All versions of vite-asset-collector with dependencies
PHP Build Version
Package Version
Requires
php Version
>=8.2
typo3/cms-core Version ^14.3 || ^13.4 || dev-main
typo3/cms-fluid Version ^14.3 || ^13.4 || dev-main
typo3/cms-core Version ^14.3 || ^13.4 || dev-main
typo3/cms-fluid Version ^14.3 || ^13.4 || dev-main
The package praetorius/vite-asset-collector contains the following files
Loading the files please wait ...