SL
Size: a a a
SL
SL
I
D
hooks: {
// This hook is called before rendering the html to the browser
'render:route': (url, result) => {
if (url.startsWith('/embed/')) {
this.$ = cheerio.load(result.html)
this.$('#__nuxt')
.removeAttr('data-server-rendered')
.removeAttr('id')
this.$(`head script`).remove()
this.$(`body script[src^="/_nuxt/"][src$="js"]`).remove()
this.$(`head link[href^="/_nuxt/"][href$="js"]`).remove()
result.html = this.$.html()
}
}
},
SL
E
RS
E
NK
M
M
ОС
R
R
ИС
R
V
ОС
СЗ