feat(hmr): reload and force slot update on re-render

This commit is contained in:
Evan You
2019-12-12 18:13:59 -05:00
parent ef50c333ce
commit f77ae132e5
7 changed files with 73 additions and 16 deletions

View File

@@ -58,7 +58,7 @@ export function parse(
sourceMap = true,
filename = 'component.vue',
sourceRoot = '',
pad = 'line'
pad = false
}: SFCParseOptions = {}
): SFCDescriptor {
const sourceKey = source + sourceMap + filename + sourceRoot + pad