Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message
20 Twig And Public Assets
20 Twig And Public Assets
nowo-tech/manual-kit-bundle
cursor
symfony
documentation
i18n
markdown
bundle
translations
help
manual
symfony-bundle
commonmark
frankenphp
nowo

Twig templates and public bundle assets of ManualKitBundle

Install
php artisan boost:add-skill nowo-tech/manual-kit-bundle

Save this content to: .cursor/rules/20-twig-and-public-assets.mdc

Prefer:
- small, backward-compatible template changes that keep the documented blocks (`title`, `stylesheets`, `body`), CSS
  classes (`.nowo-manual__*`, `--nowo-manual-*`), `data-testid` hooks and the Stimulus identifier
  `nowo-manual-lightbox` (see `docs/TEMPLATES.md`)
- linking published files through the bundle's asset package: `asset('css/manual.css', 'nowo_manual_kit')` — never a
  hard-coded `/bundles/nowomanualkit/...` path (REQ-ASSETS-004)
- the `NowoManualKitBundle` translation domain; keep the 7 catalogues in key parity (`make validate-translations`)
- `rendered.html|raw` only for sanitiser output, inside `.manual-prose`

Do not edit `src/Resources/public/js/manual-lightbox.js` by hand: it is the Vite build of
`src/Resources/assets/src/manual-lightbox.ts` (`make assets`).
Do not rewrite whole templates for a local change.

Prefer:

  • small, backward-compatible template changes that keep the documented blocks (title, stylesheets, body), CSS classes (.nowo-manual__*, --nowo-manual-*), data-testid hooks and the Stimulus identifier nowo-manual-lightbox (see docs/TEMPLATES.md)
  • linking published files through the bundle's asset package: asset('css/manual.css', 'nowo_manual_kit') — never a hard-coded /bundles/nowomanualkit/... path (REQ-ASSETS-004)
  • the NowoManualKitBundle translation domain; keep the 7 catalogues in key parity (make validate-translations)
  • rendered.html|raw only for sanitiser output, inside .manual-prose

Do not edit src/Resources/public/js/manual-lightbox.js by hand: it is the Vite build of src/Resources/assets/src/manual-lightbox.ts (make assets). Do not rewrite whole templates for a local change.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
adachsoft/changelog-linter
adachsoft/collection
payerurl/telegrambot-crypto-payment-instant-payout
dskripchenko/laravel-hybrid-search
riorizkyrainey/lara-ced
mehedimi/static-vel
zharp/zharp
nonsapiens/bigquery-model-sync
lgu-bayambang-ict-office/lgu-laravel-development-standards
andydefer/laravel-support
se7enxweb/flysystem
lampwick/laravel
jeslage/statamic-emojis
micahdshackelford/rmap-laravel
draftsmaninc/draftsman
square-bit/laravel-volition
himito/laravel-mailman
htinlynn/genius-helper
maco-studios/hephaestus
elmogy/larafast