V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
Dragonphy
V2EX  ›  Vue.js

Vue 项目如何转成静态页面

  •  
  •   Dragonphy · Jun 7, 2021 · 1739 views
    This topic created in 1793 days ago, the information mentioned may be changed or developed.

    想转成原始的 html,js,css..,能直接在浏览器打开的那种 已采用 Nuxt.js ,用yarn generate 导出的页面 css 效果还在,js 就没办法了

    1 replies    2021-06-26 12:59:56 +08:00
    initd
        1
    initd  
       Jun 26, 2021
    服务器端渲染,SSR,但是逻辑上的东西还是需要浏览器里把 Vue 跑起来。主要是为了 SEO,这个有基于 Vue 版本的兼容性问题,
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2815 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 13:56 · PVG 21:56 · LAX 06:56 · JFK 09:56
    ♥ Do have faith in what you're doing.