Generate Frontend Template Command
The command
content- generates a
frontend Fluid template for the given Content Element Content Block and writes
it to the templates/ file inside the Content Block
directory. The file will not be overwritten unless
-- is provided.
Arguments
content-block
-
- Required
-
true
- Type
-
string
The Content Block to generate the frontend template for (e.g.
vendor/).name
Options
force
-
- Shortcut
-
f
- Type
-
bool
Override an existing frontend template file.
Generate a frontend template for Content Block example/:
vendor/bin/typo3 content-blocks:generate:frontend example/my-block
Copied!
Override an existing frontend template:
vendor/bin/typo3 content-blocks:generate:frontend example/my-block --force
Copied!