This repository has been archived by the owner on Dec 13, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
Viewhelper (instead of UserFunction) #21
Comments
My suggestion was to use a viewhelper that passes the assets to the b13asset viewhelper. so you could write css inline if you want. here is a test:
|
Another idea of handling the assets with very less complexity: #23 |
Isn't the asset collector now part of TYPO3 core? At least I'm using the AssetCollector class in my view helper to add vite assets |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
@misterboe and @helhum both suggested to use a Fluid Viewhelper to include Vite generated CSS and JS - instead of the UserFunction InsertViteAssets.php included by setup.typoscript.
What are the advantages of this approach?
The text was updated successfully, but these errors were encountered: