PLATFORM
  • Tails

    Create websites with TailwindCSS

  • Blocks

    Design blocks for your website

  • Wave

    Start building the next great SAAS

  • Pines

    Alpine & Tailwind UI Library

  • Auth

    Plug'n Play Authentication for Laravel

  • Designer comingsoon

    Create website designs with AI

  • DevBlog comingsoon

    Blog platform for developers

  • Static

    Build a simple static website

  • SaaS Adventure

    21-day program to build a SAAS

Question By
Unsolved

Upgrade AlpineJS3

carlos4

Jul 11th, 2023 12:56 AM

Can I upgrade to AlpineJS version 3?

When I try to cdn alpinejs version 3.

it shows me this error.

alpinejs3 issue.png

bobbyiliev

Jul 11th, 2023 01:02 AM

Hi there,

Which project are you referring to? Would you mind sharing your code snippet as well?

There has been the same error reported in the Alpine repo here:

Uncaught RangeError: Maximum call stack size exceeded

But the solution is individual to the specific code in question.

carlos4

Jul 11th, 2023 01:06 AM

By just adding this code snippet. It doesn't seems to work without cdn'ing the alpinejs 3 https://prnt.sc/NdRfeQosrEMb

I'm referring to TALL Stack Theme

bobbyiliev

Jul 11th, 2023 01:34 AM

Hey!

Yes, to update Alpine.js to v3, you would need to change the package.json file and update the version there, followed by an npm install.

However there would be the need to do quite a few changes to update the Alpine v2 references in the theme to the new syntax. So it will not be just a matter of changing the version as there are some breaking changes.

I will look into submitting a PR with all of the necessary changes in the next few weeks as well.

carlos4

Jul 11th, 2023 01:37 AM

Thanks. Hopefully it will be coming. As I start using v2 then will upgrade to v3 when you make updates.

bobbyiliev

Nov 4th, 2023 09:17 AM

Hey,

Just a quick update here, the TALL stack theme has been upgraded to Apline.js V3 and there is a PR for this:

https://github.com/thedevdojo/wave-pro/pull/133

Best,

Bobby