V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
joker2026
V2EX  ›  前端开发

技术选型问题

  •  
  •   joker2026 · 2 天前 · 450 次点击

    服务端没问题

    前端既包含了展示的部分需要考虑 seo ,又包含了用户中心的部分。用户中心部分确定是 vue3 来写,主要是前端展示部分,工程化一点想用 nuxt 来写,但是服务器又得单独起个 node 节点。写原生吧,很多 vue 的组建又没办法用。

    如果是你的话如何选择

    7 条回复    2024-07-04 17:11:33 +08:00
    chuck1in
        1
    chuck1in  
       2 天前
    用 sveltekit
    snowlee
        2
    snowlee  
       2 天前
    astro + vue
    declandragon
        3
    declandragon  
       2 天前
    nuxt vue3
    qwedcxsaz
        4
    qwedcxsaz  
       2 天前
    nuxt3 预渲染,把 html 渲染好了再丢到服务器上去,纯静态文件,seo 也有
    qwedcxsaz
        5
    qwedcxsaz  
       2 天前   ❤️ 1
    nuxt3 细粒度到可以控制每个路由的渲染模式了,需要 SEO 的页面设置成 `prerender: true`,然后整站 ssr: false ,我这个站 https://ruti.page/ 是用的混合渲染,有些是 node 实时渲染的,有些是预渲染的,效果很好,seo 也很好,lighthouse 的 seo 基本上每个页面都是满分
    RogerL
        6
    RogerL  
       2 天前
    nuxt+预渲染
    joker2026
        7
    joker2026  
    OP
       6 小时 23 分钟前
    @qwedcxsaz 感谢指教
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   2442 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 24ms · UTC 15:34 · PVG 23:34 · LAX 08:34 · JFK 11:34
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.