fix(compiler-core): handle template root and template v-if as stable fragments

This commit is contained in:
Evan You
2019-12-12 20:46:20 -05:00
parent f77ae132e5
commit 8ffd79c754
18 changed files with 106 additions and 60 deletions

View File

@@ -14,7 +14,11 @@ export function setupPuppeteer() {
page.on('console', e => {
if (e.type() === 'error') {
console.error(`Error from Puppeteer-loaded page:`, e)
const err = e.args()[0] as any
console.error(
`Error from Puppeteer-loaded page:\n`,
err._remoteObject.description
)
}
})
})