Content-Length: 264309 | pFad | http://github.com/vuejs/vue-element/commit/20dcadec0ca9dbe3b5d245aca4c3f172c7521044

B6 readme · vuejs/vue-element@20dcade · GitHub
Skip to content
This repository was archived by the owner on Jan 18, 2022. It is now read-only.

Commit 20dcade

Browse files
author
Evan You
committed
readme
1 parent 169564c commit 20dcade

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,10 @@ Vue.element({ /* ... */ })
2424

2525
## Usage
2626

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:
2828

2929
- 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.
3030

3131
- You can expose attributes with Vue's `paramAttributes` option. See the example folder to see it in action.
3232

33+
- This plugin uses *only* the Custom Elements API - it does not provide Shadow DOM encapsulation.

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/vuejs/vue-element/commit/20dcadec0ca9dbe3b5d245aca4c3f172c7521044

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy