Giter Club home page Giter Club logo

Comments (3)

imacrayon avatar imacrayon commented on May 26, 2024 1

No worries. Alpine is designed to work with server-rendered apps, it doesn’t work very well with SPAs. That’s why I built Alpine AJAX, so that server-rendered apps using Alpine can still feel like a SPA.
Typically, Vue will consume JSON sent from the server. Alpine works best with HTML shipped from the server instead.
You’ll need to pair Alpine with a server-side language to build apps, what language or framework are you using on the server to build your APIs for Vue?

from alpine-ajax.

ericxin1982 avatar ericxin1982 commented on May 26, 2024

I am using Powershell pode.

I saw alpine history knew its author why made it, it consumes html totally instead of json, that is cool, that is new to me.
But that is familiar with the way I use to work, I can use alpine-ajax you built to download html template from server A, and download json from server B, and assembly data and template on client side by alpine, that is what I did before in vue1, that is faster without webpack involved. (That is why I need some time delay between after download html template, and assembly data to it).

I rather use html template with json on client side, I can get benefit from server rendering and enough flexibility, but some secure content can be html with data from server for sure, your product gives me more choice.

That is why I asked you what UI you are using. I just plan to use comprehensive UI solution for template design.
Thanks for your great help!

Thanks
Eric Xin

from alpine-ajax.

imacrayon avatar imacrayon commented on May 26, 2024

I’m going to close this issue, but feel free to reopen or create a new issue if you have any other questions.

from alpine-ajax.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.