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
{{ message }}
This repository was archived by the owner on Jan 18, 2022. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -24,9 +24,10 @@ Vue.element({ /* ... */ })
24
24
25
25
## Usage
26
26
27
-
Usage is the same as `Vue.component` - you pass in exactly the same options as if you are defining a Vue component. Two things to note:
27
+
Usage is the same as `Vue.component()` - you pass in exactly the same options as if you are defining a Vue component. A few things to note:
28
28
29
29
- You don't need to manually instantiate a root level Vue instance. Custom Elements get auto-promoted when `document.registerElement` is called. You can also freely define the element before or after the markup.
30
30
31
31
- You can expose attributes with Vue's `paramAttributes` option. See the example folder to see it in action.
32
32
33
+
- This plugin uses *only* the Custom Elements API - it does not provide Shadow DOM encapsulation.
0 commit comments