mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-09-20 11:56:25 +03:00
* Add tailsfadmin/tailsfadmin-bundle recipe: manifest * Add tailsfadmin recipe: default config * Add tailsfadmin recipe: asset_mapper paths * Post-install output in English * English comments (default config) * English comments (asset_mapper paths) * Fix CI: remove unsupported alias, use 4-space indentation - manifest.json: drop "aliases" (aliases are not supported in recipes-contrib) - config/packages/tailsfadmin.yaml: put the menu list dash on its own line so every indentation level is a multiple of 4 spaces (recipes-contrib lint) Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
26 lines
1.1 KiB
JSON
26 lines
1.1 KiB
JSON
{
|
|
"bundles": {
|
|
"Tailsfadmin\\TailsfadminBundle": ["all"]
|
|
},
|
|
"copy-from-recipe": {
|
|
"config/": "%CONFIG_DIR%/"
|
|
},
|
|
"post-install-output": [
|
|
"<bg=blue;fg=white> tailsfadmin </> admin theme installed.",
|
|
"",
|
|
" The bundle ships no CDN dependency — two steps for the assets:",
|
|
"",
|
|
" 1. Vendor the components' third-party JS libs (ApexCharts, flatpickr, Dropzone, …):",
|
|
" <comment>php bin/console tailsfadmin:assets:install</comment>",
|
|
"",
|
|
" 2. Import the theme into your Tailwind entrypoint (assets/styles/app.css):",
|
|
" <comment>@import \"tailwindcss\";</comment>",
|
|
" <comment>@import \"../../vendor/tailsfadmin/tailsfadmin-bundle/assets/styles/theme.css\";</comment>",
|
|
"",
|
|
" Then compile: <comment>php bin/console tailwind:build && php bin/console asset-map:compile</comment>",
|
|
"",
|
|
" The controllers' AssetMapper path is already set (config/packages/tailsfadmin_assets.yaml).",
|
|
" Documentation: <comment>https://github.com/thibmonier/tailsfadmin#readme</comment>"
|
|
]
|
|
}
|