Build Hyvä components that work with strict CSP.
Guides the creation of interactive Hyvä theme components using Alpine.js patterns compatible with Content Security Policy.
When to use it
Use when creating Alpine components, adding interactivity to Hyvä templates, or adapting JavaScript to Content Security Policy constraints.
It changes how the agent writes Alpine.js components in a Hyvä project by requiring CSP-compatible patterns.
What you provide
The components use Alpine.js; the prescribed patterns work with both standard Alpine and Alpine CSP builds.
The component structure depends on Hyvä theme integration, including registering every inline script with the Hyvä CSP helper.
No additional actions listed.