Get the latest tech news

Alpine: A Lightweight JavaScript Framework for Minimalist Front End Development


A rugged, minimal framework for composing JavaScript behavior in your markup. - GitHub - alpinejs/alpine: A rugged, minimal framework for composing JavaScript behavior in your markup.

PackageDescription alpinejs The main Alpine repo with all of Alpine's core collapse A plugin for expanding and collapsing elements using smooth animations csp A repo to provide a "CSP safe" build of Alpine docs The Alpine documentation focus A plugin that allows you to manage focus inside an element history A plugin for binding data to query string parameters using the history API (name is likely to change) intersect A plugin for triggering JS expressions based on elements intersecting with the viewport mask A plugin for automatically formatting a text input field as a user types morph A plugin for morphing HTML (like morphdom) inside the page intelligently persist A plugin for persisting Alpine state across page loadsThe compiled JS files (as a result of running npm run [build/watch]) to be included as a<script> tag for example are stored in each package's packages/[package]/dist directory. Each package should at least have: a "cdn" build that is self-initializing and can be included using the src attribute in a<script defer> tag, and a module. [esm/cjs].js file that is used for importing as a JS module (cjs for node, esm for everything else).

Get the Android app

Or read this on Hacker News

Read more on:

Photo of alpine

alpine

Related news:

News photo

Renault Unveils First Alpine EV With Hopes of Wooing Investors