mhsdesign/neos-afxfiles

Letzte Aktivität 28 Jun 2021 1 9
composer require mhsdesign/neos-afxfiles

Provides option to use AFX in separate template files.

1.0

Version
1.0
Type
neos-package
Release Date
Jun 28, 2021 20:30
Source
git
Distribution
zip
Requires
  • neos/flow: *
  • neos/fusion-afx: *
bac30a4089dae045ecf0b5686ad5b88217c4160a

Readme excerpt

MhsDesign.Neos.AfxFiles

Install via composer:

composer require mhsdesign/neos-afxfiles Provides option to use AFX in separate template files.

Your Fusion Code:

prototype(Vendor.Site:Content.Stuff) < prototype(Neos.Neos:ContentComponent) { title = Neos.Neos:Editable { property = "title" } somOtherProp = 'Hello World' renderer = afxFile`resource://Vendor.Site/Private/Fusion/Content/Stuff/Stuff.afx` }

Your AFX File e.g. ./DistributionPackages/Vendor.Site/Resources/Private/Fusion/Content/Stuff/Stuff.afx (you can use as file extension whatever you like e.g. .html .afx)

<section class="foo"> <div class="bar"> <h2>…
Read more
The content of the readme is provided by an external source, which we have no control over. Check out the actual readme at its source.
The same vendor provides 4 package(s).