fix(runtime-dom): v-cloak should be removed after compile on the root element (#893)
fix #890
This commit is contained in:
@@ -63,7 +63,9 @@ export const createApp = ((...args) => {
|
||||
}
|
||||
// clear content before mounting
|
||||
container.innerHTML = ''
|
||||
return mount(container)
|
||||
const proxy = mount(container)
|
||||
container.removeAttribute('v-cloak')
|
||||
return proxy
|
||||
}
|
||||
|
||||
return app
|
||||
|
||||
Reference in New Issue
Block a user