You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix a warning and a bad reference in the "Components - Dynamic Components" example (volksbright#409)
* Mount "Dynamic Components" VM to #example instead of body
http://rc.vuejs.org/guide/components.html#Dynamic-Components
Mounting a VM to the body produces the following warning: `vue.js:2532 [Vue warn]: Do not mount Vue to <html> or <body> - mount to normal elements instead.`
* Save "Dynamic Components" VM as a `vm` to match later reference
http://rc.vuejs.org/guide/components.html#Dynamic-Components
The HTML snippet references the VM as `vm`, but the VM is not currently saved as a variable.
Copy file name to clipboardExpand all lines: src/guide/components.md
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -807,8 +807,8 @@ The content distribution API is a very useful mechanism when designing component
807
807
You can use the same mount point and dynamically switch between multiple components using the reserved `<component>` element and dynamically bind to its `is` attribute:
0 commit comments