Skip to content

[6.x] Resolve Craft assets through Vite first#18801

Merged
brandonkelly merged 2 commits into
6.xfrom
rias/pt-3111-add-a-craftvite-helper-for-twig-assets
May 8, 2026
Merged

[6.x] Resolve Craft assets through Vite first#18801
brandonkelly merged 2 commits into
6.xfrom
rias/pt-3111-add-a-craftvite-helper-for-twig-assets

Conversation

@riasvdv
Copy link
Copy Markdown
Contributor

@riasvdv riasvdv commented May 7, 2026

Description

Allows the usage of {{ craftAsset('resources/images/install/installer-bg.png') }} for example, which will point to the correct Vite versioned asset.

@linear-code
Copy link
Copy Markdown

linear-code Bot commented May 7, 2026

@craftcms craftcms deleted a comment from semanticdiff-com Bot May 8, 2026
[ci skip]
@brandonkelly brandonkelly merged commit 348dd09 into 6.x May 8, 2026
@brandonkelly brandonkelly deleted the rias/pt-3111-add-a-craftvite-helper-for-twig-assets branch May 8, 2026 18:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants