fix(build): remove __RUNTIME_COMPILE__ flag
behavior should be consistent in all builds. fix #817
This commit is contained in:
@@ -58,12 +58,7 @@ export const createApp = ((...args) => {
|
||||
const container = normalizeContainer(containerOrSelector)
|
||||
if (!container) return
|
||||
const component = app._component
|
||||
if (
|
||||
__RUNTIME_COMPILE__ &&
|
||||
!isFunction(component) &&
|
||||
!component.render &&
|
||||
!component.template
|
||||
) {
|
||||
if (!isFunction(component) && !component.render && !component.template) {
|
||||
component.template = container.innerHTML
|
||||
}
|
||||
// clear content before mounting
|
||||
|
||||
Reference in New Issue
Block a user