Lightlines
By hyva-themes

hyva-alpine-component

hyva-themes1.3k installs

Build Hyvä components that work with strict CSP.

What it does

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.

How to use it

It changes how the agent writes Alpine.js components in a Hyvä project by requiring CSP-compatible patterns.

What you provide

  • An existing project

Latest review

What you need · 2

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.


Access · 0

No additional actions listed.