Alpine.js

A rugged, minimal framework for composing JavaScript behavior in your markup. (by alpinejs)

Alpine.js Alternatives

Similar projects and alternatives to Alpine.js

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better Alpine.js alternative or higher similarity.

Suggest an alternative to Alpine.js

Reviews and mentions

Posts with mentions or reviews of Alpine.js. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-10-13.
  • Building a dropdown menu using Alpine.js
    dev.to | 2021-10-13
    AlpineJS is a small JavaScript framework for composing behavior directly in HTML markup. In this tutorial I’ll show you how the framework can be used to build a dropdown menu component. If you’ve never worked with Alpine before this will serve as a simple introduction to the framework.
  • Showing GUIs from Shell Scripts
    news.ycombinator.com | 2021-10-13
  • Carregamento lento com scroll horizontal
    dev.to | 2021-10-12
  • Do you recommend learning Angular or React for the front end?
    reddit.com/r/java | 2021-10-02
    I have personally found a combination of htmx and Alpine.js to be very effective for my projects. Here's a demo project for using Spring Boot, Thymeleaf and htmx together. Here's a video on using Spring Boot w/htmx. That said, there is currently no job market for this kind of thing, although (crossed-fingers) that will change over the next few years.
  • Help with Modal
    reddit.com/r/laravel | 2021-10-01
    I would use AlpineJS to display the modal, and then within the modal I'd build the form as a Livewire component.
  • We Got to LiveView
    news.ycombinator.com | 2021-09-22
  • Is there a library like Preact for React, but for Vue?
    reddit.com/r/vuejs | 2021-09-15
    There is https://alpinejs.dev/
  • POLL: How would you feel if the Options API was removed from Vue (placed in an separate library like Class Components are), so it would only ship with Composition API
    reddit.com/r/vuejs | 2021-09-03
    Alpine.js
  • vue is pretty rad
    reddit.com/r/vuejs | 2021-09-03
    If you really just want some JS in your HTML, and not build a complete SPA, take a look at petite vue or alpine js.
  • MarkdownX Editor 🎉
    dev.to | 2021-08-30
    MarkdownX is like a element with super powers ✨. It is a text editor with a beautiful interface that makes it easy for users to write in Markdown. The component has a pretty sweet dropdown that allows you to easily upload images, add lists, embed videos, and so much more!

    A month ago we posted a tweet about a new editor we were building and it got a pretty huge response with nearly 500 likes and 50 retweets 🤯

    tweet-md.png

    That set things in motion and we started working on a version that could be used with any Tallstack application. 🙌.

    I'll show you the steps below 👇 on how to install this in a new Tallstack app.

    1. 🔧 Create a new Laravel App

    The first step is creating a new Laravel application. If you already have an existing Tallstack application, you can skip ahead to step 3.

    laravel new mdx
    
    Enter fullscreen mode Exit fullscreen mode

    In this example, I'll install a new laravel app in a folder named mdx.

    Then, go into that directory cd mdx, and we can move to the next step.

    2. 🔩 Installing the Tallstack Pre-set

    The Tallstack preset allows us to add TailwindCSS, Alpine, and Livewire in our new application with a few simple commands. You can find that preset here: https://github.com/laravel-frontend-presets/tall.

    Let's run those commands in our new application:

    composer require livewire/livewire laravel-frontend-presets/tall
    php artisan ui tall
    npm install
    npm run dev
    
    Enter fullscreen mode Exit fullscreen mode

    After we have run those commands, we should be able to visit our new site:

    tallstack-preset.png

    And we should have a new Tallstack application in front of us.

    note: if you get an application key error, you may also need to run php artisan key:generate.

    Next up, we'll be moving the component files to our new application.

    3. 🧩 Adding the MarkdownX Editor

    Adding this component to your project is literally as easy as 1, 2, 3. Because that's how many files the MarkdownX editor includes. Here are those files:

    1. Controller - app/Http/Livewire/MarkdownX.php
    2. View - resources/views/livewire/markdown-x.blade.php
    3. Config - config/markdownx.php

    After downloading a copy of the latest MarkdownX editor, you will need to move those files 👆 to their appropriate location in your Laravel application.

    Note: make sure to run php artisan storage:link, if you want to test out image uploading. The MarkdownX storage uses the local public disk by default, but you can change this in the config 😉.

    After you have done this, we are now ready to test it out in our new application.

    🧪 Test out the Editor

    To test the editor in our new app we are going to modify the welcome page located at resources/views/welcome.blade.php, to look like this:

    @extends('layouts.app')
    
    @section('content')
        
    @endsection
    
    Enter fullscreen mode Exit fullscreen mode

    If we visit our application homepage we'll see the editor in front of us 🤘.

    markdown-x-editor.png

    We can now drag-and-drop images, add videos, lists, and a bunch of other cool things that make writing more fun and easier than ever before.

    Be sure to check out the official new landing page for MarkdownX here and the documentation here. I hope you find this component useful in your next project, and I hope you continue to build awesome stuff 🤘. See you soon!

  • How to Use MongoDB With Laravel
    dev.to | 2021-08-26
    Breeze provides sleek-looking authentication forms using Tailwind CSS and AlpineJS. You don't need to know either to go through the tutorial.
  • Alpine.js, exploring in real world applications
    dev.to | 2021-08-25
    Please check the docs here, https://alpinejs.dev
  • Ask HN: Companies of one, what is your tech stack (2021)?
    news.ycombinator.com | 2021-08-25
  • AlpineJS Community
    reddit.com/r/alpinejs | 2021-08-25
    The GitHub repo is a good place. Other than that, Twitter.
  • PHP + VueJS ( Good Combo ? )
    reddit.com/r/PHPhelp | 2021-08-24
    If you're doing a multipage app, then you can integrate some Vue components in your views rendered with PHP, although transfering data from the view to Vue without an API is not what Vue was made for. Check out the new petite-vue or AlpineJS that might be a better choice for this use case.

Stats

Basic Alpine.js repo stats
86
18,686
9.6
6 days ago

alpinejs/alpine is an open source project licensed under MIT License which is an OSI approved license.

SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
Find remote HTML jobs at our new job board 99remotejobs.com. There is 1 new remote job listed recently.
Are you hiring? Post a new remote job listing for free.