gpt4 book ai didi

Project using both Astro and Laravel(同时使用Astro和Laravel的项目)

转载 作者:bug小助手 更新时间:2023-10-28 13:11:28 25 4
gpt4 key购买 nike



I am planning a website that will be mostly a brochure site using Astro. A feature of the site will be a small Laravel app. My question is should I build these as two separate projects with links between them, or can they be combined as a single project. If the latter, would I start with an Astro project and somehow insert the Laravel project into it, or start with a Laravel build with Astro inside of it.

我正在计划一个网站,将主要是一个使用Astro的小册子网站。该网站的一个功能将是一个小型的Laravel应用程序。我的问题是,我应该将它们构建为两个独立的项目,并在它们之间建立链接,还是可以将它们组合为一个项目。如果是后者,我会从一个Astro项目开始,然后以某种方式将Laravel项目插入其中,还是从一个带有Astro的Laravel版本开始。


I have tried to find resources for doing this with no luck. Laravel has docs for working with Vue, React and Svelte, but that's mostly SPA stuff. Pointers to any resources that discuss this would be welcome as well.

我试图找到资源来做这件事,但没有运气。Laravel有与Vue、Reaction和Svelte合作的文档,但这主要是SPA的东西。任何讨论这一问题的资源的指点也是受欢迎的。


更多回答

My opinion - this must be diffident projects, because astro is not spa and if you need something which work with backend - you must choose something else.

我的意见-这必须是胆小的项目,因为Astro不是温泉,如果你需要与后端工作的东西-你必须选择其他东西。

I believe the best solution for you it's using Inertia + Vue.

我相信对你来说最好的解决方案是使用惯性+Vue。

优秀答案推荐
更多回答

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com