Skip to content
#

ssr

Here are 1,661 public repositories matching this topic...

chefjuanpi
chefjuanpi commented Jan 11, 2020

What problem does this feature solve?

I trying to figure how deploy for production a Universal app if it contains buildModules. I think deploy a universal app for prod can be a little confuse and need more explications in the guide.

I'm a little confuse between:

Production environment:
if I use:

yarn install --prod

I can't build because the buildModules are not in place

Dev environm

akhileshacc
akhileshacc commented Dec 3, 2019

First, I am not sure how to exactly add Material UI support.
I added by doing this in client.js

<App context={context} insertCss={insertCss}>
        <MuiThemeProvider>
          <CssBaseline />
          {route.component}
        </MuiThemeProvider>
      </App>

Please tell whats the right way to integrate material UI.
Material UI applies styles well when server starts. But at

stoffpalette
stoffpalette commented Dec 29, 2019

Since it cost me valueable time (i did not import the global css first) - please add the these two imports at the top of your "mount with ssr" example.

import Vue from 'vue'
import 'swiper/dist/css/swiper.css'

if (process.browser) {
const VueAwesomeSwiper = require('vue-awesome-swiper/dist/ssr')
Vue.use(VueAwesomeSwiper)
}

zero
loadable-components
Tarpsvo
Tarpsvo commented Dec 4, 2019

💥 Regression Report

The SSR example does not work when running yarn dev for the first time. It becomes stuck in a "reloading due to changes" loop and occasionally throws /server-side-rendering/public/dist/node/loadable-stats.json: Unexpected end of JSON input.

Last working version

Worked up to version: Unknown

Stopped working in version: Unknown to latest

To Reproduce

JayChew
JayChew commented Aug 14, 2019

中文用户注意:

  1. 尽量用英文描述你的 issue
  2. 不要把内容堆彻在标题上,逻辑清晰地写在内容区
  3. 贴代码要提前格式化好,有颜色高亮那种,贴文本,不要贴图片
  4. 提问题前,必须仔细阅读 REMADE.md + 在已关闭的问题中寻找与自身相关的问题,90% 的可能它已经被解决
  5. 如果无法做到提一个合格、优秀的问题,则问题会被 close + block

BUG REPORT TEMPLATE

Vue.js version and component version

Reproduction Link

  • A minimal JSBin, JSFiddle, Codepen, or a GitHub repository that can reproduce the bug.
  • You coul

Improve this page

Add a description, image, and links to the ssr topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the ssr topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.