mirror of
https://github.com/nuxt/nuxt.git
synced 2025-02-12 03:38:07 +00:00
refactor: enable renderStyles before vue-ssr supports async css loading
This commit is contained in:
parent
8beb1b3525
commit
913d544e74
@ -376,9 +376,7 @@ export default class Renderer {
|
|||||||
APP += m.script.text({ body: true })
|
APP += m.script.text({ body: true })
|
||||||
APP += m.noscript.text({ body: true })
|
APP += m.noscript.text({ body: true })
|
||||||
|
|
||||||
if (!this.options.build.extractCSS) {
|
HEAD += context.renderStyles()
|
||||||
HEAD += context.renderStyles()
|
|
||||||
}
|
|
||||||
|
|
||||||
let html = this.resources.ssrTemplate({
|
let html = this.resources.ssrTemplate({
|
||||||
HTML_ATTRS: 'data-n-head-ssr ' + m.htmlAttrs.text(),
|
HTML_ATTRS: 'data-n-head-ssr ' + m.htmlAttrs.text(),
|
||||||
|
Loading…
Reference in New Issue
Block a user