const appString = renderer.renderToString(context)
const html = ejs.render(template, {
appString,
style: context.renderStyles(),
scripts: context.renderScripts()
})
app route before enter
render error TypeError: context.renderStyles is not a function
at module.exports (D:\WebstormProjects\vue-todo-tech\server\routers\server-render.js:10:22)
at handleSSR (D:\WebstormProjects\vue-todo-tech\server\routers\dev-ssr.js:51:9)
at process._tickCallback (internal/process/next_tick.js:68:7)
to do before route enter